# HG changeset patch # User Daniel Dourvaris # Date 2016-06-24 11:35:49 # Node ID 2f064e448bdea286b170c288e65d746c503e69af # Parent ed0d2e768b04153c64149d8758a917f1176fe919 celery: log exception in the event of unknown IOError diff --git a/rhodecode/lib/celerylib/__init__.py b/rhodecode/lib/celerylib/__init__.py --- 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: