Commit 8090e19f authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

jqueue: Fix error logging

The passed parameters were not correct.

Reviewed-by: iustinp, ultrotter
parent bff2ddc5
......@@ -246,11 +246,9 @@ class _QueuedJob(object):
raise
except errors.GenericError, err:
logging.error("ganeti exception %s", exc_info=err)
except Exception, err:
logging.error("unhandled exception %s", exc_info=err)
logging.exception("Ganeti exception")
except:
logging.error("unhandled unknown exception %s", exc_info=err)
logging.exception("Unhandled exception")
class _JobQueueWorker(workerpool.BaseWorker):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment