Commit 21a449b
feat: Add Sentry eventID to the response object (#1890)
Sets the eventId returned from captureException on ExpressJS middleware. This allows us to use the eventId to inform the user of a tracking ID they can use when in contact with Helpdesk.
Implements behaviour as shown in https://docs.sentry.io/platforms/node/express/
Likely an oversight that was missed when moving from Raven to the new clients?1 parent eeab4c1 commit 21a449b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
0 commit comments