Add JavaScript sentry
This commit is contained in:
@ -108,10 +108,11 @@ $(document).on('turbolinks:load', function() {
|
||||
}
|
||||
}
|
||||
|
||||
var ajaxError = function() {
|
||||
var ajaxError = function(error) {
|
||||
$.flash.danger({
|
||||
text: $('#flash').data('message-failure')
|
||||
});
|
||||
Sentry.captureException(error);
|
||||
};
|
||||
|
||||
var buildCheckboxes = function() {
|
||||
|
Reference in New Issue
Block a user