created a new uncaughtexceptionhandler and integrated it