ソースを参照

Fix nil error when no DNS addresses are found for host (#9379)

master
Eugen Rochko 5年前
committed by GitHub
コミット
43c311b3a1
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更5行の追加1行の削除
  1. +5
    -1
      app/lib/request.rb

+ 5
- 1
app/lib/request.rb ファイルの表示

@@ -163,7 +163,11 @@ class Request
end
end

raise outer_e if outer_e
if outer_e
raise outer_e
else
raise SocketError, "No address for #{host}"
end
end

alias new open


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