Use log.error instead of log.exception