Support skipping call to `Sentry.init()`
spaceemotion opened this issue ยท 3 comments
spaceemotion commented
I am using a fastify server inside of AWS Lambda and thus already have a Sentry instance initialized. It would be nice to have an option to simply skip the Sentry initalization step to not confuse the library.
dnlup commented
Hi @spaceemotion , thank you for opening this. I am looking at the docs here and here and I can see the use case. Would a simple boolean
flag in the plugin options be enough?
fastify.register(fastifySentryPlugin, {
skipInit: true
})
or do we need something more?
spaceemotion commented
Thanks for looking into this. I think that flag should do it :)
simonecorsi commented
๐ This issue has been resolved in version 7.1.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐