Skip to content

Commit

Permalink
Improve bundle build error message (openshift-eng#508)
Browse files Browse the repository at this point in the history
`bundle_nvr` could be None. It is assigned by Brew.
  • Loading branch information
vfreex authored Sep 3, 2021
1 parent 7fe7973 commit 9ecc076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doozerlib/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2287,7 +2287,7 @@ def rebase_and_build(operator):
record['task_url'] = task_url
record['bundle_nvr'] = bundle_nvr
except Exception as err:
runtime.logger.error('Error during rebase or build for: {}'.format(bundle_nvr))
runtime.logger.error('Error during rebase or build for: {}'.format(olm_bundle.bundle_brew_component))
traceback.print_exc()
record['message'] = str(err)
finally:
Expand Down

0 comments on commit 9ecc076

Please sign in to comment.