Thats a java error, you need to catch those separately from python errors
add
except java.lang.Throwable as e:
# handle error here
to your try ... except block.
Thats a java error, you need to catch those separately from python errors
add
except java.lang.Throwable as e:
# handle error here
to your try ... except block.