Add try/catch to curry to find error.
Swat
Add try/catch to obtainLoct to find error.
Swat