capture exception in sentry for embed processing

This commit is contained in:
Madeline
2022-10-04 15:43:01 +11:00
parent c885fd5503
commit 7db5c02189
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ export async function Message(this: WebSocket, buffer: WS.Data) {
try {
var ret = await OPCodeHandler.call(this, data);
// transaction.finish();
transaction.finish();
return ret;
} catch (error) {
Sentry.captureException(error);