re-raise URLError after printing the error reason