I am trying to properly manage the exceptions created by an external software, VTK. I am calling some of its functions from PyCall as in the following example.
using PyCall @pyimport vtk as vtk reader = vtk.vtkXMLUnstructuredGridReader() reader[:SetFileName]("test") #Doesn't exist try reader[:Update]() catch println("Error") end
But the following window shows up instead and crashes Julia. Any idea what I am doing wrong?