Skip to content

Commit

Permalink
fix namespacing, include ZK::Exceptions::InterruptedException in rele…
Browse files Browse the repository at this point in the history
…vant underlying exceptions
  • Loading branch information
slyphon committed Apr 22, 2012
1 parent 6b9f5d3 commit 0641f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/z_k/extensions.rb
Expand Up @@ -129,7 +129,7 @@ def ==(other)

[:ConnectionClosed, :NotConnected, :SessionExpired, :SessionMoved, :ConnectionLoss].each do |class_name|
ZookeeperExceptions::ZookeeperException.const_get(class_name).tap do |klass|
klass.__send__(:include, InterruptedSession)
klass.__send__(:include, ZK::Exceptions::InterruptedSession)
end
end

Expand Down

0 comments on commit 0641f15

Please sign in to comment.