pass the exception to the logger, as the cause contains the details about the model error