We are communicating with Premiere Pro via ExtendScript from our panel. Everything is working for the most part, but we can get into a case where one of the native application calls generates and exception. We are unable to catch this and the result is a pop us dialog that the user must clear.
Here is where we are calling the PPro API, but the try/catch block does not catch the exception:
try{
currentSessionUrl = app.anywhere.getCurrentEditingSessionURL();
}catch(e){
currentSessionUrl = "";
}
Here is the pop up we are getting. Is there any way to wrap this call so that we can suppress the pop up and handle it gracefully?