Stringify error messages for Sentry
This commit is contained in:
@ -112,7 +112,7 @@ $(document).on('turbolinks:load', function() {
|
||||
$.flash.danger({
|
||||
text: $('#flash').data('message-failure')
|
||||
});
|
||||
Sentry.captureException(error);
|
||||
Sentry.captureException(JSON.stringify(error));
|
||||
};
|
||||
|
||||
var buildCheckboxes = function() {
|
||||
|
Reference in New Issue
Block a user