added default exception handler for all unhandled exceptions