Is there an easy way to have a kind of global error trap that logs all unhandled errors in an OWIN hosted Web API ? Kind of like when you declare a global error trap in Global.asax. I must say the documentation of the Microsoft.Owin.Logging namespace is quite thin.
I've checked these excellent samples on OWIN here. But I still have to catch the exception and call the logger.