mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-26 18:25:36 -04:00
images: repo typo (comma goes tuple), logging/exception handling
This commit is contained in:
parent
f09deaa9a5
commit
becde79172
3 changed files with 6 additions and 5 deletions
|
@ -65,7 +65,8 @@ def create_chroot(
|
|||
],
|
||||
capture_output=True)
|
||||
if result.returncode != 0:
|
||||
raise Exception('Failed to install chroot:' + result.stdout.decode() + '\n' + result.stderr.decode())
|
||||
logging.debug(result.stdout.decode())
|
||||
raise Exception(f'Failed to install chroot "{chroot_name}":' + '\n' + result.stderr.decode())
|
||||
return chroot_path
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue