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 logging for update fails #140

Open
amouat opened this issue Jun 4, 2024 · 1 comment
Open

Add logging for update fails #140

amouat opened this issue Jun 4, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers P2 Nice to fix: non-critical items that should be evaluated and planned during issue triage

Comments

@amouat
Copy link

amouat commented Jun 4, 2024

At the moment it seems Frizbee will just fail silently if it can't get a digest e.g. because of auth or network issues. I think it would be worth logging this to stderr.

For example:

FROM redis:invalid_image_tag

is clearly an image reference, but will just be ignored.

I guess this is the place in the code?

https://github.com/stacklok/frizbee/blob/main/pkg/replacer/replacer.go#L303

@rdimitrov
Copy link
Member

hey, @amouat 👋 Thanks for reaching out!

You're right, logging that message might be handy 👍 Feel free to open a PR in case you already have one 😃

@rdimitrov rdimitrov added the enhancement New feature or request label Jun 4, 2024
@evankanderson evankanderson added P2 Nice to fix: non-critical items that should be evaluated and planned during issue triage good first issue Good for newcomers labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers P2 Nice to fix: non-critical items that should be evaluated and planned during issue triage
Projects
None yet
Development

No branches or pull requests

3 participants