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

Unexpected behaviour from 'throw' in async function #28

Open
NiloCK opened this issue Jul 25, 2018 · 0 comments
Open

Unexpected behaviour from 'throw' in async function #28

NiloCK opened this issue Jul 25, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@NiloCK
Copy link
Owner

NiloCK commented Jul 25, 2018

the throw attempts in the putQuestionType() function link do not interrupt the completion of the function.

IE, error conditions occur, errors are thrown but the function still runs to completion and returns the db Promise object.

@NiloCK NiloCK added the bug Something isn't working label Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant