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
|
||||
print "Won't handdle this... yet :(\n"
|
||||
end
|
||||
rescue Errno::EPIPE, Errno::ECONNRESET
|
||||
print "Caught Errno::EPIPE reading from server #{server} (get_xhdr)\n"
|
||||
rescue Errno::EPIPE, Errno::ECONNRESET, EOFError
|
||||
print "Caught #{$!.message} reading from server #{server} (get_xhdr)\n"
|
||||
print "Error: #{$!}\n"
|
||||
reconnect(server)
|
||||
get_group_info(server)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue