Log more infos on websocket error

This commit is contained in:
Sebastian Serth
2020-10-29 12:21:55 +01:00
parent e5aeb8597b
commit d20692d3e8

View File

@ -660,7 +660,7 @@ var CodeOceanEditor = {
text: $('#flash').data('websocket-failure'), text: $('#flash').data('websocket-failure'),
showPermanent: true showPermanent: true
}); });
Sentry.captureException(JSON.stringify(error)); Sentry.captureException(JSON.stringify(error, ["message", "arguments", "type", "name", "data"]));
}, },
showFileDialog: function (event) { showFileDialog: function (event) {