https://blogs.msdn.microsoft.com/timomta/2017/03/04/how-to-trap-uncaught-exceptions-and-avoid-5xx-errors-in-asp-net-webapi/