Explorar el Código

Mapped RequestException Exceptions

pull/3011/head
Matheus Felipe hace 2 años
padre
commit
a553dd5909
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: AA785C523274872F
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      scripts/validate/links.py

+ 1
- 1
scripts/validate/links.py Ver fichero

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



Cargando…
Cancelar
Guardar