lib/angelo/stash.rb in angelo-0.1.18 vs lib/angelo/stash.rb in angelo-0.1.19
- old
+ new
@@ -54,11 +54,11 @@
def each &block
stash.each do |s|
begin
yield s
rescue Reel::SocketError, IOError, SystemCallError => e
- debug e.message
+ debug "context: #{@context} - #{e.message}"
remove_socket s
end
end
nil
end
@@ -86,10 +86,10 @@
def all_each
stashes.values.flatten.each do |s|
begin
yield s
rescue Reel::SocketError, IOError, SystemCallError => e
- debug e.message
+ debug "all - #{e.message}"
remove_socket s
end
end
end