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

Update docs source #1641

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Update docs source #1641

merged 2 commits into from
Sep 27, 2023

Conversation

martincostello
Copy link
Member

Rename exception variable.

See #1640 (comment).

Rename exception variable.
@martincostello martincostello added documentation v8 Issues related to the new version 8 of the Polly library. labels Sep 27, 2023
@martincostello martincostello added this to the v8.0.0 milestone Sep 27, 2023
@martincostello martincostello enabled auto-merge (rebase) September 27, 2023 11:05
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (b0ffc12) 84.63% compared to head (b3a027a) 84.63%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1641   +/-   ##
=======================================
  Coverage   84.63%   84.63%           
=======================================
  Files         306      306           
  Lines        6819     6819           
  Branches     1045     1045           
=======================================
  Hits         5771     5771           
  Misses        839      839           
  Partials      209      209           
Flag Coverage Δ
linux 84.63% <ø> (ø)
macos 84.63% <ø> (ø)
windows 84.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -125,9 +125,9 @@ public static async ValueTask<HttpResponseMessage> Action()
return Outcome.FromResult(result);
}, context, "state");

if (outcome.Exception is HttpRequestException hre)
if (outcome.Exception is HttpRequestException httpEx)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (outcome.Exception is HttpRequestException httpEx)
if (outcome.Exception is HttpRequestException requestException)

?

Change to `requestException` per feedback.
@martincostello martincostello merged commit 6ce1158 into main Sep 27, 2023
14 checks passed
@martincostello martincostello deleted the rename-var branch September 27, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation v8 Issues related to the new version 8 of the Polly library.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants