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 3c0b409 commit 017c2a6Copy full SHA for 017c2a6
platform-includes/getting-started-config/javascript.express.mdx
@@ -15,10 +15,11 @@ Sentry.init({
15
const express = require("express");
16
const app = express();
17
18
-Sentry.setupExpressErrorHandler(app);
19
-
20
// Add your routes, etc.
21
+// Add this after all routes and other middlewares are defined
+Sentry.setupExpressErrorHandler(app);
22
+
23
app.listen(3000);
24
```
25
0 commit comments