From 094f039a2ce70d97ab9e928d217cbaa4d2b410b7 Mon Sep 17 00:00:00 2001 From: Murtaza rizvi <98248598+pierizvi@users.noreply.github.com> Date: Mon, 19 Dec 2022 20:44:50 +0530 Subject: [PATCH] Update links.py --- scripts/validate/links.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/validate/links.py b/scripts/validate/links.py index 287e5dca..7ae00f13 100644 --- a/scripts/validate/links.py +++ b/scripts/validate/links.py @@ -179,9 +179,7 @@ def check_if_link_is_working(link: str) -> Tuple[bool, str]: has_error = True error_message = f'ERR:CLT: {code} : {link}' - except requests.exceptions.SSLError as error: - has_error = True - error_message = f'ERR:SSL: {error} : {link}' + except requests.exceptions.ConnectionError as error: has_error = True