Adds a try catch for a method not accessible with spatialiate