浏览代码

Mapped RequestException Exceptions

pull/3011/head
Matheus Felipe 2 年前
父节点
当前提交
a553dd5909
找不到此签名对应的密钥 GPG 密钥 ID: AA785C523274872F
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      scripts/validate/links.py

+ 1
- 1
scripts/validate/links.py 查看文件

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



正在加载...
取消
保存