Add global error handling to web host.