Skip to content
Snippets Groups Projects
Commit 372ae906 authored by Daniel Helfand's avatar Daniel Helfand
Browse files

fix: add more info to gitlab agent reconcile error

parent ab280984
No related branches found
No related tags found
1 merge request!1748fix: add more info to gitlab agent reconcile error
Pipeline #1512730417 passed
......@@ -395,7 +395,7 @@ func (c *bootstrapCmd) run() error {
fmt.Fprintln(c.stderr, "Output from flux command:")
err = c.fluxReconcile()
if err != nil {
return reconcileErr
return fmt.Errorf("%w:\n%w", reconcileErr, err)
}
} else {
fmt.Fprintf(c.stderr, "[SKIPPED]\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment