Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

VS13 breaking on handled exceptions

$
0
0

Hi there - I'm trying to figure out why VS13 is breaking on exceptions that have clearly been handled. The exception is thrown and handled within an external library, if it matters.

I have a RESTful API (ServiceStack) which I am trying to authenticate against. When authentication fails, an HTTP 500 (Yeah, it should be 401 or 403) is returned to the HTTP client. This then throws an exception, which I handle. The catch block returns "false", indicating to the calling method that authentication has failed. Pretty simple.

Despite this logic being contained within a try/catch, VS13 still stops when the exception is encountered. Has anybody else experienced this?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>