This was a rather small hint, mainly because the error message was wrong. This branch was NOT concerned about EOI disabled, but any other error.

log.exception() is a shorthand for log.error("msg", exc_info=True) and more in line with the intent.
https://docs.python.org/2/library/logging.html#logging.Logger.exception