Open gugu opened 9 months ago
Thanks for reporting. Fyi you are using an unstable hapi-sentry version. you can downgrade to 4.0.0 to mitigate this problem.
I would like to fix this tho. Could you share your hapi-sentry config (without the DSN or any other confidential info)?
The error happened both in 4.0.0 when I passed Sentry or Sentry.getClient() object (I use ESM import to import Sentry). Everything is okay if I pass {dsn: "..."} as a sentry object
Stack trace:
Related piece of code:
Related versions in package.json:
Transitive: zod@3.22.4