debug string

This commit is contained in:
Inex Code 2023-08-04 14:15:13 +03:00
parent 52336b885d
commit 471704afa8
1 changed files with 4 additions and 0 deletions

View File

@ -236,7 +236,11 @@ class ResticBackupper(AbstractBackupper):
stdout=subprocess.PIPE,
shell=False,
) as handle:
output = handle.communicate()[0].decode("utf-8")
if handle.returncode != 0:
print("repo is not initted")
print("returncode", handle.returncode)
print("output", output)
return False
return True