From 7434010cdd4ad524c5ac181299f04faa051ba9ad Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 6 Oct 2016 23:36:22 +0200 Subject: [PATCH] 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. --- borg/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/helpers.py b/borg/helpers.py index a452e17aa..f7bc54c36 100644 --- a/borg/helpers.py +++ b/borg/helpers.py @@ -64,7 +64,7 @@ class ErrorWithTraceback(Error): class IntegrityError(ErrorWithTraceback): - """Data integrity error""" + """Data integrity error: {}""" class ExtensionModuleError(Error):