[Groonga-commit] droonga/fluent-plugin-droonga at be007ef [master] Report the parent class name correctly by UnknownPlugin error

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Feb 17 11:18:25 JST 2014


YUKI Hiroshi	2014-02-17 11:18:25 +0900 (Mon, 17 Feb 2014)

  New Revision: be007efcc36c302ed4025316ce572e3ba5ed5022
  https://github.com/droonga/fluent-plugin-droonga/commit/be007efcc36c302ed4025316ce572e3ba5ed5022

  Message:
    Report the parent class name correctly by UnknownPlugin error

  Modified files:
    lib/droonga/plugin_registry.rb

  Modified: lib/droonga/plugin_registry.rb (+1 -1)
===================================================================
--- lib/droonga/plugin_registry.rb    2014-02-17 11:17:07 +0900 (aecf37d)
+++ lib/droonga/plugin_registry.rb    2014-02-17 11:18:25 +0900 (8f5b054)
@@ -46,7 +46,7 @@ module Droonga
     def find_sub_classes(name, klass)
       plugin_module = self[name]
       if plugin_module.nil?
-        raise UnknownPlugin.new(name, self.class)
+        raise UnknownPlugin.new(name, klass)
       end
       sub_classes = []
       collect_sub_classes_recursive(plugin_module, klass, sub_classes)
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index