Change log.error() back to log.exception()