YUKI Hiroshi
null+****@clear*****
Wed Apr 29 02:09:53 JST 2015
YUKI Hiroshi 2015-04-29 02:09:53 +0900 (Wed, 29 Apr 2015) New Revision: 7ea8c3294ae6feeb74131b1fdf4408f7576f76eb https://github.com/droonga/droonga-engine/commit/7ea8c3294ae6feeb74131b1fdf4408f7576f76eb Message: Raise error instance correctly Modified files: lib/droonga/cluster.rb Modified: lib/droonga/cluster.rb (+1 -1) =================================================================== --- lib/droonga/cluster.rb 2015-04-29 01:34:53 +0900 (6b0c243) +++ lib/droonga/cluster.rb 2015-04-29 02:09:53 +0900 (fd50750) @@ -153,7 +153,7 @@ module Droonga def forward(message, destination) receiver = destination["to"] receiver_node_name = receiver.match(/\A[^:]+:\d+\/[^.]+/).to_s - raise NotStartedYet unless @engine_nodes + raise NotStartedYet.new unless @engine_nodes @engine_nodes.each do |node| if node.name == receiver_node_name node.forward(message, destination) -------------- next part -------------- HTML����������������������������...Download