From 3c0461255cf453a9a2313c39726818b8e1ee28e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 21 Nov 2019 15:00:48 +0100 Subject: [PATCH] changed type of exception --- scripts/phabtalk/apply_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/phabtalk/apply_patch.py b/scripts/phabtalk/apply_patch.py index aa3179b..ebd477d 100755 --- a/scripts/phabtalk/apply_patch.py +++ b/scripts/phabtalk/apply_patch.py @@ -65,7 +65,7 @@ def _apply_patch(diff_id: str, conduit_token: str, host: str): print(result.stdout + result.stderr) if result.returncode != 0: 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.')