We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b684274 commit c36e561Copy full SHA for c36e561
server/src/index.ts
@@ -65,12 +65,14 @@ export function validateGeneratedFile(req: Request, res: Response) {
65
});
66
stream.on('error', err => {
67
res.status(500).send(err.message);
68
+ Sentry.captureException(err);
69
+ if (transaction) transaction.finish();
70
71
stream.on('finish', () => {
72
res.status(200).send(encodeURIComponent(objectName));
73
74
75
76
stream.end(JSON.stringify(report));
- if (transaction) transaction.finish();
77
78
}
0 commit comments