Work around unprintable exception messages.

This commit is contained in:
Bastian Kleineidam 2013-07-18 20:39:40 +02:00
parent d2d7a7ea57
commit 52593f93b4

2
dosage
View file

@ -150,7 +150,7 @@ def saveComicStrip(strip, basepath, dryrun):
if saved: if saved:
allskipped = False allskipped = False
except Exception as msg: 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 errors += 1
return errors, allskipped return errors, allskipped