add uncaughtExceptionHandler example