From d017c17269b9e7748330d0bcdb06b517cfb0fac0 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Fri, 24 Jun 2016 14:35:49 +0300 Subject: [PATCH] celery: log exception in the event of unknown IOError --- rhodecode/lib/celerylib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/lib/celerylib/__init__.py b/rhodecode/lib/celerylib/__init__.py index c6b2b8cb..f18a3d5e 100644 --- a/rhodecode/lib/celerylib/__init__.py +++ b/rhodecode/lib/celerylib/__init__.py @@ -64,7 +64,7 @@ def run_task(task, *args, **kwargs): log.error('Unable to connect to celeryd. Sync execution') rhodecode.CELERY_ENABLED = False else: - log.error("Exception while connecting to celeryd.") + log.exception("Exception while connecting to celeryd.") except KeyError as e: log.error('Unable to connect to celeryd. Sync execution') except Exception as e: