Open mohami2000 opened 2 months ago
I am catching the exception by checking a string, which is not great, not sure how we can catch it otherwise. maybe we can change the exception being thrown on the backend (https://github.com/Kaggle/kaggleazure/blob/8cac02b80ff50d52b95f2863763605ff421e83f9/Kaggle.Services.Models/Utils/ModelInstanceValidator.cs#L134). what do you think?
I am catching the exception by checking a string, which is not great, not sure how we can catch it otherwise. maybe we can change the exception being thrown on the backend (https://github.com/Kaggle/kaggleazure/blob/8cac02b80ff50d52b95f2863763605ff421e83f9/Kaggle.Services.Models/Utils/ModelInstanceValidator.cs#L134). what do you think?