Closed logicfox closed 2 months ago
Copa returns an error if there are no patchable vulnerabilities. This PR handles that error state to stop Helmper from exiting in the middle of a run. Tested with cert-manager cjart v1.15.0 where the patch was failing with the following error:
{"time":"2024-08-21T12:10:15.893513865Z","level":"ERROR","msg":"no patchable vulnerabilities found"}
Additionally, error logging has been improved to add context and an env var config to enable debug logging has been added.
Copa returns an error if there are no patchable vulnerabilities. This PR handles that error state to stop Helmper from exiting in the middle of a run. Tested with cert-manager cjart v1.15.0 where the patch was failing with the following error:
Additionally, error logging has been improved to add context and an env var config to enable debug logging has been added.