소스 검색

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

master
Eugen Rochko 5 년 전
committed by GitHub
부모
커밋
43c311b3a1
No known key found for this signature in database 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


불러오는 중...
취소
저장