If the error originates in JavaScript (from your screenshot this seems to be the case), I don’t think you can handle it in the python layer.
Rather, you should debug the JavaScipt code to figure out what went wrong.
If the error originates in JavaScript (from your screenshot this seems to be the case), I don’t think you can handle it in the python layer.
Rather, you should debug the JavaScipt code to figure out what went wrong.