Correct usage of log.exception.