You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this line in my code for every response received from an api endpoint:
if (result.ErrorText != null) throw new Exception(result.ErrorText);
I'm checking for exceptions too, but I think I added this in as a fallback. In the latest update, it looks like the ErrorText field returns 'OK' on all successful responses. Is this a bug?
Since all my methods contain this fallback, I think I can apply this fix:
if (result.StatusCode != HttpStatusCode.OK) throw new Exception(result.ErrorText);
Wanted to flag because it's weird that the error text fields is populated when there are no errors.
The text was updated successfully, but these errors were encountered:
Version: 9.2.0
I have this line in my code for every response received from an api endpoint:
if (result.ErrorText != null) throw new Exception(result.ErrorText);
I'm checking for exceptions too, but I think I added this in as a fallback. In the latest update, it looks like the ErrorText field returns 'OK' on all successful responses. Is this a bug?
Since all my methods contain this fallback, I think I can apply this fix:
if (result.StatusCode != HttpStatusCode.OK) throw new Exception(result.ErrorText);
Wanted to flag because it's weird that the error text fields is populated when there are no errors.
The text was updated successfully, but these errors were encountered: