Kaynağa Gözat

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

master
Eugen Rochko 5 yıl önce
committed by GitHub
ebeveyn
işleme
43c311b3a1
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      app/lib/request.rb

+ 5
- 1
app/lib/request.rb Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet