better error message?
This commit is contained in:
parent
281cf81570
commit
aca04979f4
1 changed files with 2 additions and 2 deletions
|
|
@ -202,8 +202,8 @@ def get_xhdr(server, range, header)
|
||||||
else
|
else
|
||||||
print "Won't handdle this... yet :(\n"
|
print "Won't handdle this... yet :(\n"
|
||||||
end
|
end
|
||||||
rescue Errno::EPIPE, Errno::ECONNRESET
|
rescue Errno::EPIPE, Errno::ECONNRESET, EOFError
|
||||||
print "Caught Errno::EPIPE reading from server #{server} (get_xhdr)\n"
|
print "Caught #{$!.message} reading from server #{server} (get_xhdr)\n"
|
||||||
print "Error: #{$!}\n"
|
print "Error: #{$!}\n"
|
||||||
reconnect(server)
|
reconnect(server)
|
||||||
get_group_info(server)
|
get_group_info(server)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue