more consistant error message
This commit is contained in:
parent
137c459d50
commit
c9d5ebb447
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ def get_group_info(server)
|
|||
begin
|
||||
resp, count, first, last, name = @connections[server]["nntp"].group(@group)
|
||||
rescue Net::NNTP::RuntimeError
|
||||
print "Got error \"#{$!}\" from #{server}\n"
|
||||
print "Caught #{$!.type} from #{server}\n"
|
||||
raise PermError, "#{$!}"
|
||||
rescue Errno::EPIPE, Errno::ECONNRESET
|
||||
print "Caught #{$!.type} reading from server #{server} (get_group_info)\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue