please, add the exception in the logger.error call