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

Remove unnecessary try-catch in Worker template #35127

Merged
merged 1 commit into from
Aug 10, 2021

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Aug 6, 2021

PR Title
Remove unnecessary try-catch in Worker template

PR Description
This was working around a bug in 6.0 (dotnet/runtime#56032) which will be fixed in 6.0. So we no longer need this in the default template.

This was working around a bug in 6.0 (dotnet/runtime#56032) which will be fixed in 6.0. So we no longer need this in the default template.
@eerhardt eerhardt requested a review from Pilchie as a code owner August 6, 2021 21:30
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 6, 2021
@eerhardt
Copy link
Member Author

The underlying bug is now fixed in dotnet/runtime. Merging.

@eerhardt eerhardt merged commit e27bc83 into dotnet:main Aug 10, 2021
@eerhardt eerhardt deleted the UpdateWorkerTemplate branch August 10, 2021 15:20
@ghost ghost added this to the 6.0-rc1 milestone Aug 10, 2021
eerhardt added a commit to dotnet/docs that referenced this pull request Sep 29, 2021
No need in `try-catch` for OperationCanceledException.

See dotnet/aspnetcore#35127
IEvangelist pushed a commit to dotnet/docs that referenced this pull request Sep 30, 2021
No need in `try-catch` for OperationCanceledException.

See dotnet/aspnetcore#35127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants