Handle uncaught exceptions from onGranted