diff --git a/app/assets/javascripts/editor/editor.js.erb b/app/assets/javascripts/editor/editor.js.erb index 7de058d5..c64ef3ee 100644 --- a/app/assets/javascripts/editor/editor.js.erb +++ b/app/assets/javascripts/editor/editor.js.erb @@ -660,7 +660,7 @@ var CodeOceanEditor = { text: $('#flash').data('websocket-failure'), showPermanent: true }); - Sentry.captureException(JSON.stringify(error)); + Sentry.captureException(JSON.stringify(error, ["message", "arguments", "type", "name", "data"])); }, showFileDialog: function (event) {