Exception handling

Nasty exceptions in Timer scope

Unhandled exceptions occurring in Timer scope in a .Net Core application will crash the application

Björn Weström

2 minute read

Unhandled exceptions occurring in Timer scope in a .Net Core application will crash the application without any logs or any graceful shutdown. Make sure to catch any exceptions in Timer scope and handle them without rethrowing.