Convert errors captured with Sentry to JSON
This commit is contained in:

committed by
Sebastian Serth

parent
0b1cb3affa
commit
c5b774f752
@ -215,8 +215,8 @@ var CodeOceanEditor = {
|
|||||||
try {
|
try {
|
||||||
return await callback();
|
return await callback();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(JSON.stringify(error));
|
||||||
Sentry.captureException(error, {mechanism: {handled: false}});
|
Sentry.captureException(JSON.stringify(error), {mechanism: {handled: false}});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user