title: ASP.NET Core startup exceptions handling
body: <p>When the code in the startup class throws, ASP.NET Core catches the exception instead of letting it fall through behind the <code>IWebHost.Build</code> call.</p>
  
  <p>The app consequently does start but only serves an error page.</p>
  
  <p>So how do I react to a problematic startup if I don't get to catch the exception myself?</p>
  
  <p>Please don't tell me I need to catch it in <code>Startup.cs</code>.</p>