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

fix(node): avoid rethrowing errors when development=true #1003

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mothershipper
Copy link

@mothershipper mothershipper commented May 30, 2024

When development=true, the SDK re-throws in a floating promise, leaving no way for the caller to catch it. This crashes the node process.

In lieu of proposing an error handling or logging API to use, this PR/commit is more to point out the problem than suggest a long-term solve.

See #1001 for context

When development=true, the SDK re-throws in a floating promise, leaving
no way for the caller to catch it. This crashes the node process.

In lieu of proposing an error handling or logging API to use, this
PR/commit is more to point out the problem than suggest a long-term
solve.
@kanadgupta kanadgupta added the node Issues related to our Node SDK label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node Issues related to our Node SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants