Sentry doesn't capture the websocket errors (for rest request is ok) #2406
Unanswered
mohammadranjbarz
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is what Feathers hooks are for which run for both, REST and websocket calls. You can manually capture and send the events you need for all requests in an application level hooks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added sentry to express with this codes ( as the sentry said)
Expected behavior
I expect errors on websocket requests goes to sentry as in rest requests, but for websocket requests nothing happens
Actual behavior
for REST requests it's ok, and crash reports works fine,
Module versions (especially the part that's not working):
"@feathersjs/express": "^4.5.11",
"@feathersjs/feathers": "^4.5.11",
"@feathersjs/socketio": "^4.5.11",
"@sentry/node": "^6.8.0",
"@sentry/tracing": "^6.8.0",
NodeJS version:
10
Beta Was this translation helpful? Give feedback.
All reactions