From e3e58d89636959f9f17b67c10b94ce0206e1a8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Fri, 15 May 2015 12:16:14 +0200 Subject: [PATCH] Sync with last changes in backup_rsync.py --- libtisbackup/backup_rsync_btrfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtisbackup/backup_rsync_btrfs.py b/libtisbackup/backup_rsync_btrfs.py index 66b892c..7cf93e9 100644 --- a/libtisbackup/backup_rsync_btrfs.py +++ b/libtisbackup/backup_rsync_btrfs.py @@ -200,8 +200,8 @@ class backup_rsync_btrfs(backup_generic): elif (returncode == 23): self.logger.warning("[" + self.backup_name + "] unable so set uid on some files") elif (returncode != 0): - self.logger.error("[" + self.backup_name + "] shell program exited with error code ") - raise Exception("[" + self.backup_name + "] shell program exited with error code " + str(returncode), cmd) + self.logger.error("[" + self.backup_name + "] shell program exited with error code ", str(returncode)) + raise Exception("[" + self.backup_name + "] shell program exited with error code " + str(returncode), cmd, log[-512:]) else: print cmd