You're not in an exception handler - don't use `log.exception`. From the docs:

  logging.exception(msg[, *args])
  Logs a message with level ERROR on the root logger. The arguments are interpreted as for debug(). Exception info is added to the    
  logging message. This function should only be called from an exception handler.