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

Avoid panic in ReadStringFromSecretManager in secretmanager.go #344

Merged

Conversation

pablodeymo
Copy link
Contributor

Fixes # .

What Changed?

Avoid panicking in secretmanager.go, returning the error instead of doing a Fatal.

Reviewer Checklist

  • Code is well-documented
  • Code adheres to Go naming conventions
  • Code deprecates any old functionality before removing it

Copy link
Collaborator

@samlaf samlaf left a comment

Choose a reason for hiding this comment

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

Agree with this, would just prefer errors to be wrapped everywhere.

aws/secretmanager/secretmanager.go Outdated Show resolved Hide resolved
@shrimalmadhur shrimalmadhur added this pull request to the merge queue Oct 2, 2024
@shrimalmadhur shrimalmadhur removed this pull request from the merge queue due to the queue being cleared Oct 2, 2024
@shrimalmadhur shrimalmadhur added this pull request to the merge queue Oct 2, 2024
Merged via the queue into Layr-Labs:dev with commit 0b642fa Oct 2, 2024
4 checks passed
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.

3 participants