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: connection closed error should be a rejected promise #12575

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Jun 12, 2024

The assertion would fail synchronously that does not work with the current way we catch CDP errors using .catch(debugError) resulting in an uncaught error. The behavior was changed in #12352

@OrKoN OrKoN force-pushed the orkon/fix-sync-errors branch from 8186e28 to 185b804 Compare June 12, 2024 11:08
@OrKoN OrKoN changed the title fix: connection close error should be a rejected promise fix: connection closed error should be a rejected promise Jun 12, 2024
@Lightning00Blade Lightning00Blade merged commit e36ce8b into main Jun 12, 2024
37 checks passed
@Lightning00Blade Lightning00Blade deleted the orkon/fix-sync-errors branch June 12, 2024 11:49
This was referenced Jun 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants