1
0
Fork 0

changed type of exception

This commit is contained in:
Christian Kühnel 2019-11-21 15:00:48 +01:00
parent 4d4ea1fffb
commit 3c0461255c

View file

@ -65,7 +65,7 @@ def _apply_patch(diff_id: str, conduit_token: str, host: str):
print(result.stdout + result.stderr) print(result.stdout + result.stderr)
if result.returncode != 0: if result.returncode != 0:
print('ERROR: arc patch failed with error code {}.'.format(result.returncode)) print('ERROR: arc patch failed with error code {}.'.format(result.returncode))
raise subprocess.CalledProcessError('ERROR: arc patch failed') raise Exception('ERROR: arc patch failed')
print('Patching completed.') print('Patching completed.')