celery: log exception in the event of unknown IOError
This commit is contained in:
parent
38df61623b
commit
d017c17269
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue