diff --git a/selfprivacy_api/backup/restic_backuper.py b/selfprivacy_api/backup/restic_backuper.py index 2a41967..e485e01 100644 --- a/selfprivacy_api/backup/restic_backuper.py +++ b/selfprivacy_api/backup/restic_backuper.py @@ -141,6 +141,8 @@ class ResticBackuper(AbstractBackuper): def parse_snapshot_output(self, output: str) -> object: if "[" not in output: - raise ValueError("There is no json in the restic snapshot output") + raise ValueError( + "There is no json in the restic snapshot output : " + output + ) starting_index = output.find("[") return json.loads(output[starting_index:])