Skip to content

Commit

Permalink
Better error message on module import
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Jan 30, 2024
1 parent a971095 commit d785bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiwi/builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def new(
return builder.__dict__[builder_name](
xml_state, target_dir, root_dir, custom_args
)
except Exception:
except Exception as issue:
raise KiwiRequestedTypeError(
f'Requested image type {image_type} not supported'
f'Requested image type {image_type} not supported: {issue}'
)

0 comments on commit d785bd5

Please sign in to comment.