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

Sast/remove unobserved exception polly #575

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LukeButters
Copy link
Contributor

@LukeButters LukeButters commented Aug 30, 2023

Background

[SC-58194]

Fixes a unobserved exception caused by polly walking away from requests.

How to review this PR

Quality ✔️

Pre-requisites

  • I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
  • I have considered informing or consulting the right people, according to the ownership map.
  • I have considered appropriate testing for my change.

@LukeButters LukeButters requested a review from a team as a code owner August 30, 2023 02:50
return await timeoutPolicy.ExecuteAsync(action, ct).ConfigureAwait(false);
}
else
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nathanwoctopusdeploy would something like this work? or does the timeoutPolicy need to see an exception? The retry policy should still see an exception.

@LukeButters LukeButters changed the base branch from main to sast/remove-unobserved-exception August 30, 2023 05:04
Base automatically changed from sast/remove-unobserved-exception to main August 30, 2023 13:01
@LukeButters LukeButters changed the base branch from main to MissedTheMark/enh/signHardenInstallDirScript August 30, 2023 23:07
@LukeButters LukeButters changed the base branch from MissedTheMark/enh/signHardenInstallDirScript to main August 30, 2023 23:08
@LukeButters
Copy link
Contributor Author

@nathanwoctopusdeploy This works, but I am not sure if it is too nasty. I will leave it with you to decide if it ought to go in or not.

@droyad droyad removed their request for review September 3, 2023 23:07
@nathanwoctopusdeploy nathanwoctopusdeploy marked this pull request as draft September 4, 2023 23:47
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.

None yet

1 participant