diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup/robust.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/robust.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/robust.py b/rdiff-backup/rdiff_backup/robust.py index 0e8b41d..495cda3 100644 --- a/rdiff-backup/rdiff_backup/robust.py +++ b/rdiff-backup/rdiff_backup/robust.py @@ -74,6 +74,8 @@ def is_routine_fatal(exc): return "Lost connection to the remote system" elif isinstance(exc, SignalException): return "Killed with signal %s" % (exc,) + elif isinstance(exc, EnvironmentError) and e.errno == errno.ENOTCONN: + return ("Filesystem reports connection failure:\n%s" % exc) return None def get_error_handler(error_type): |