Unverified Commit a553dd59 authored by Matheus Felipe's avatar Matheus Felipe
Browse files

Mapped RequestException Exceptions

parent 8c28be14
...@@ -184,7 +184,7 @@ def check_if_link_is_working(link: str) -> Tuple[bool, str]: ...@@ -184,7 +184,7 @@ def check_if_link_is_working(link: str) -> Tuple[bool, str]:
has_error = True has_error = True
error_message = f'ERR:TMR: {error} : {link}' error_message = f'ERR:TMR: {error} : {link}'
except Exception as error: except (Exception, requests.exceptions.RequestException) as error:
has_error = True has_error = True
error_message = f'ERR:UKN: {error} : {link}' error_message = f'ERR:UKN: {error} : {link}'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment