Azure WebJobs, catch error to prevent host failure
问题 Assume a simple HostBuilder configuration as described here. Just like that: static async Task Main() { var builder = new HostBuilder(); builder.ConfigureWebJobs(b => b .AddAzureStorageCoreServices() .AddAzureStorage() .AddTimers()) var host = builder.Build(); using (host) { await host.RunAsync(); } } There seem to be some situations where Exceptions can happen, not inside the QueueTrigger or TimerTrigger functions directly (these are catched gracefully), but on a global scope. Some of them I