shouldn't this be a logger.exception()?