Browse Source

Mapped RequestException Exceptions

pull/3011/head
Matheus Felipe 2 years ago
parent
commit
a553dd5909
No known key found for this signature in database GPG Key ID: AA785C523274872F
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/validate/links.py

+ 1
- 1
scripts/validate/links.py View File

@@ -184,7 +184,7 @@ def check_if_link_is_working(link: str) -> Tuple[bool, str]:
has_error = True
error_message = f'ERR:TMR: {error} : {link}'

except Exception as error:
except (Exception, requests.exceptions.RequestException) as error:
has_error = True
error_message = f'ERR:UKN: {error} : {link}'



Loading…
Cancel
Save