This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Description
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.