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

Make 'Unhandled Rejection' error more prominent #1007

Open
1 task
vitaly-kiselev-qa opened this issue Aug 30, 2024 · 0 comments
Open
1 task

Make 'Unhandled Rejection' error more prominent #1007

vitaly-kiselev-qa opened this issue Aug 30, 2024 · 0 comments

Comments

@vitaly-kiselev-qa
Copy link
Contributor

Contribution

Describe the user story

If you forget await somewhere you'll probably get the Unhandled Rejection and all your tests will be stopped.

At the moment the error looks like:

Terminating on critical error: Unhandled Rejection in testplane:worker:2083:
Promise: {}

Most of the time it is located in the middle of the test log and it is hard to understand that all of your tests were stopped because of it.

Describe the solution you'd like

Make the error message more dramatic:

————————————————————————————————————
CRITICAL ERROR OCCURED. TERMINATINING ALL TESTS.
Unhandled Rejection in testplane:worker:2083:
Promise: {}
————————————————————————————————————

Describe the drawbacks of your solution

No response

Describe alternatives you've considered

No response

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