Unhandled exception terminates iisexpress.exe


#1

I recently inherited an asp.net project that uses Hangfire, and this is the first time I’ve used it. I am using IAppBuilder.UseHangfireServer to process jobs.

From what I understand in the docs, any unhandled exceptions will be logged and Hangfire will keep the app from being brought down. However, I’m seeing no errors getting logged (other Hangfire messages are logged, so I know logging works). And iisexpress.exe is being terminated due to an unhandled exception. I can work around this by catching all exceptions in my job, but it seems like I shouldn’t have to do this.

Am I missing something?