minor: log.debug for the Error object