1
0
Fork 0

fixed raise statement

This commit is contained in:
Christian Kühnel 2019-11-18 16:41:44 +01:00
parent f8eaba6cf1
commit b53b2110ef

View file

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