try catch in geturl