Catch empty url error