Pārlūkot izejas kodu

Mapped RequestException Exceptions

pull/3011/head
Matheus Felipe pirms 2 gadiem
vecāks
revīzija
a553dd5909
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: AA785C523274872F
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      scripts/validate/links.py

+ 1
- 1
scripts/validate/links.py Parādīt failu

@@ -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}'



Notiek ielāde…
Atcelt
Saglabāt