Dump errors to log.