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

Uncaught promise rejection in user constructor #24

Open
MilanDonhowe opened this issue May 14, 2021 · 0 comments
Open

Uncaught promise rejection in user constructor #24

MilanDonhowe opened this issue May 14, 2021 · 0 comments
Assignees

Comments

@MilanDonhowe
Copy link
Contributor

We need to write a promise catch clause here or make this throw an exception instead for the rejection; for some reason unhandled promise rejections can't be caught by try/catch blocks up the call-stack.

reject(new Error('Could not parse request cookie'))

@MilanDonhowe MilanDonhowe self-assigned this Dec 30, 2022
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