try url and catch