Catch HTTPException in opener.open.