소스 검색

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 년 전
부모
커밋
7434010cdd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      borg/helpers.py

+ 1 - 1
borg/helpers.py

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