Skip to content

Commit

Permalink
provide osbuild depsolve error via TMT note field
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Jaburek <[email protected]>
  • Loading branch information
comps committed Aug 16, 2024
1 parent 70106cb commit 4ff7583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/osbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def create(self, *, blueprint=None, bp_verbatim=None, rpmpack=None):
elif re.match('ERROR: Depsolve Error: Get "[^"]+": EOF\n', ret.stdout):
continue
else:
raise RuntimeError("depsolve returned unknown error")
raise RuntimeError(f"depsolve:\n{ret.stdout}")
else:
raise RuntimeError("depsolve failed, retries depleted")

Expand Down

0 comments on commit 4ff7583

Please sign in to comment.