changed type of exception
This commit is contained in:
parent
4d4ea1fffb
commit
3c0461255c
1 changed files with 1 additions and 1 deletions
|
@ -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.')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue