Script failing despite being within a try/except

Python's Exception class is not the same thing as java.lang.Exception. You'll need a separate except clause for it. Something like this:

1 Like