ソースを参照

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



読み込み中…
キャンセル
保存