added error name to log.trace output