Enable logging. Handle multiple exceptions that may occur from opening URL.