Skip the filepath while checking for uncaught exception