From 52593f93b4e16946d3b7bfa6f46ec3cfd82c5b14 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Thu, 18 Jul 2013 20:39:40 +0200 Subject: [PATCH] Work around unprintable exception messages. --- dosage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dosage b/dosage index ca13ef43f..d9fdee4e0 100755 --- a/dosage +++ b/dosage @@ -150,7 +150,7 @@ def saveComicStrip(strip, basepath, dryrun): if saved: allskipped = False except Exception as msg: - out.exception('Could not save image at %s to %s: %s' % (image.referrer, image.filename, msg)) + out.exception('Could not save image at %s to %s: %r' % (image.referrer, image.filename, msg)) errors += 1 return errors, allskipped