BackgroundService Gotcha: Silent Failures

added by DotNetKicks
5/29/2020 3:30:40 PM

285 Views

I know last time I talked about BackgroundService... I don't want to make this a series or anything, but there is another common "gotcha" when it comes to BackgroundService: exceptions are silently ignored. If the ExecuteAsync implementation throws an exception, that exception is silently swallowed and ignored.


0 comments