Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentry.close() does not work #20

Open
asharghi opened this issue Apr 22, 2024 · 0 comments
Open

Sentry.close() does not work #20

asharghi opened this issue Apr 22, 2024 · 0 comments

Comments

@asharghi
Copy link

Not able to do Sentry.close(), getting "Failed to close the SDK". I see in the package that it uses getCurrentHub().getClient() to get the client, but it's marked as deprecated. Logging the error from the catch it says:

TypeError: Cannot read properties of undefined (reading 'then')
      at file: node_modules/stacktrace-gps/stacktrace-gps.js:186:0
      at async Module.close (file:///app/vendor.js:3795:13)

I'm on "@nativescript-community/sentry": "4.6.28". Same result on Android and iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant