diff --git a/create_snapshot_backup.py b/create_snapshot_backup.py index 7b34caf..1befc1a 100755 --- a/create_snapshot_backup.py +++ b/create_snapshot_backup.py @@ -48,7 +48,7 @@ def remote_call(arguments): cmd.extend(arguments) try: result = call(cmd, as_text=True) - except CalledProcessError as e: + except subprocess.CalledProcessError as e: print("STDERR:", e.stderr) raise