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

Run serveRequests in an error zone and log errors #3429

Merged
merged 2 commits into from Oct 6, 2021

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Oct 6, 2021

We have a large number of DDR server crashes due to serveRequests calls not running in a proper error zone.

See dart-lang/shelf#202 for discussion.

Related issues

Similar issue dart-lang/build#3196
Similar issue dart-lang/webdev#1418

Closes: #3415

@annagrin
Copy link
Contributor Author

annagrin commented Oct 6, 2021

@kenzieschmoll @elliette I am not sure how to tests this, please let me know if you have any pointers.

Copy link
Member

@kenzieschmoll kenzieschmoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Since this is just a log addition, I think it is fine to land with out a test.

@annagrin annagrin merged commit 2562043 into flutter:master Oct 6, 2021
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.

Handle asynchronous errors in serveRequests calls
2 participants