Skip to content

Commit 2402ed6

Browse files
Alex KrawiecAlex Krawiec
authored andcommitted
Make error log in initialize-sentry-sdk-backend more descriptive
1 parent 3d19ebf commit 2402ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-backend.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Make sure to import `instrument.js` at the top of your `server.js` file, as well
127127
app.use(function onError(err, req, res, next) {
128128
// The error id is attached to `res.sentry` to be returned
129129
// and optionally displayed to the user for support.
130-
console.log('500?');
130+
console.log('500 error thrown!');
131131
res.statusCode = 500;
132132
res.end(res.sentry + "\n");
133133
});

0 commit comments

Comments
 (0)