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: Improve logging on failures to fetch secret #184

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

gmchale79
Copy link
Contributor

What was the problem/requirement? (What/Why)

The logging around get_secret_value previously gave the customer no indication as to what might be wrong.

What was the solution? (How)

Making sure AccessDeniedException is not swallowed and customers are given some information on how to resolve failures.

What is the impact of this change?

See above.

How was this change tested?

Unit tests.

Was this change documented?

NA.

Is this a breaking change?

No.

@gmchale79 gmchale79 requested a review from a team as a code owner February 28, 2024 19:17
@gmchale79 gmchale79 requested a review from jusiskin February 28, 2024 19:18
jericht
jericht previously approved these changes Feb 28, 2024
src/deadline_worker_agent/windows_credentials_resolver.py Outdated Show resolved Hide resolved
@gmchale79 gmchale79 force-pushed the gmchale79/improved_logging branch from c483733 to 346c508 Compare February 28, 2024 20:17
matta-aws
matta-aws previously approved these changes Feb 28, 2024
@jusiskin jusiskin force-pushed the jusiskin/windows_service branch 4 times, most recently from 1274c9f to 38ba32f Compare March 8, 2024 23:00
@jusiskin jusiskin added the bug Something isn't working label Mar 12, 2024
@jusiskin jusiskin force-pushed the jusiskin/windows_service branch 6 times, most recently from d4400fc to 26dd138 Compare March 15, 2024 22:40
Base automatically changed from jusiskin/windows_service to mainline March 16, 2024 00:40
@ddneilson ddneilson dismissed stale reviews from matta-aws and jericht March 16, 2024 00:40

The base branch was changed.

@gmchale79 gmchale79 force-pushed the gmchale79/improved_logging branch 2 times, most recently from b6ad06d to 030ed41 Compare March 19, 2024 22:31
@gmchale79 gmchale79 requested review from jericht and ddneilson March 19, 2024 22:49
Copy link
Contributor

@ddneilson ddneilson left a comment

Choose a reason for hiding this comment

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

Works for me! Thanks for the improvement

@ddneilson ddneilson force-pushed the gmchale79/improved_logging branch from 030ed41 to 3d50323 Compare March 21, 2024 18:43
@ddneilson ddneilson enabled auto-merge (squash) March 21, 2024 18:43
@ddneilson ddneilson merged commit d3e2e0c into mainline Mar 21, 2024
12 checks passed
@ddneilson ddneilson deleted the gmchale79/improved_logging branch March 21, 2024 18:51
baxeaz pushed a commit that referenced this pull request Mar 23, 2024
Signed-off-by: Graeme McHale <[email protected]>
Signed-off-by: Brian Axelson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants