changeset 6618:cc1b5e0e01e8

celerylib: fix error in error logging format string
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 08 May 2017 05:25:41 +0200
parents 0bae66824ac5
children 865c1f65244c
files kallithea/lib/celerylib/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/celerylib/__init__.py	Mon May 08 05:25:41 2017 +0200
+++ b/kallithea/lib/celerylib/__init__.py	Mon May 08 05:25:41 2017 +0200
@@ -84,7 +84,7 @@
             try:
                 result = f_org(*args, **kwargs)
             except Exception as e:
-                log.error('exception executing sync task %s in sync', f_org.__name__, e)
+                log.error('exception executing sync task %s in sync: %r', f_org.__name__, e)
                 raise # TODO: return this in FakeTask as with async tasks?
             return FakeTask(result)