Przeglądaj źródła

IntegrityError: add placeholder for message, fixes #1572

So that the message we give appears not only in the traceback, but also in the (short) error message.
Thomas Waldmann 8 lat temu
rodzic
commit
7434010cdd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      borg/helpers.py

+ 1 - 1
borg/helpers.py

@@ -64,7 +64,7 @@ class ErrorWithTraceback(Error):
 
 
 
 
 class IntegrityError(ErrorWithTraceback):
 class IntegrityError(ErrorWithTraceback):
-    """Data integrity error"""
+    """Data integrity error: {}"""
 
 
 
 
 class ExtensionModuleError(Error):
 class ExtensionModuleError(Error):