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

Add custom error logs when communicating with the CA backend #966

Merged
merged 3 commits into from Jan 17, 2023

Conversation

hectorj2f
Copy link
Contributor

Signed-off-by: Hector Fernandez hector@chainguard.dev

Summary

We realized most of the errors returned the same error message (e.g. genericCAError) when communicating with the CA backend. I added few more error logs and new error types depending on the logic of the error statements.

Release Note

Documentation

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
@hectorj2f
Copy link
Contributor Author

cc @priyawadhwa

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
@hectorj2f hectorj2f requested review from bobcallaway and removed request for haydentherapper January 17, 2023 16:02
Signed-off-by: Hector Fernandez <hector@chainguard.dev>
Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

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

thanks!

@haydentherapper haydentherapper merged commit 13a2378 into sigstore:main Jan 17, 2023
@hectorj2f hectorj2f deleted the improve_err_messages branch January 17, 2023 22:35
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

3 participants