I can’t seem to figure out how to capture a Jython Exception in a try…except.
I have tried this format and it works for capturing database exceptions.
# something something something
except Exception, e:
# jython exception
except java.lang.Exception, e:
# java exception
I have never been able to capture a JythonExecException. Like a divide by zero, or an exception with Sepasoft API, or an invalid reference or datatype passed into a function.
Is it possible? I am using Ignition v8.0.13.