In ASP.NET WebApi2 if there is an internal server error, a 500 Response is sent without the Access-Control-Allow-Origin header, even when CORS is enabled.
This leads the browser to report a CORS error, not an internal server error.
I suppose a server in an erroneous state might not be able to report on the origins it will respond to so it seems to me like the browser should handle this exceptional case and report the internal error, rather than the CORS one.
A ) Is there a way to get the internal server error to show up in the browser as the reason my request failed?
B ) Should an issue be raised with the browser regarding this?