You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Can set data on an error with dataCallback before it is sent to Sentry, but it must be a syncronous operation.
What is the expected behavior?
Should be able to perform async operations in dataCallback, and invoke a callback with that data when ready. The use case is I want to attach user context (email + id), but this requires hitting an API to fetch that. This means right now I have to fetch the current user before every request in Express, even if it doesn't result in an error.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
feature
Has someone had this problem before?
Not that I can find.
What is the current behavior?
Can set data on an error with
dataCallback
before it is sent to Sentry, but it must be a syncronous operation.What is the expected behavior?
Should be able to perform async operations in
dataCallback
, and invoke a callback with that data when ready. The use case is I want to attach user context (email + id), but this requires hitting an API to fetch that. This means right now I have to fetch the current user before every request in Express, even if it doesn't result in an error.The text was updated successfully, but these errors were encountered: