Kouhei Sutou
null+****@clear*****
Thu Nov 21 16:18:24 JST 2013
Kouhei Sutou 2013-11-21 16:18:24 +0900 (Thu, 21 Nov 2013) New Revision: fc273caed097d941ccc05cc8b858c987e921427c https://github.com/droonga/fluent-plugin-droonga/commit/fc273caed097d941ccc05cc8b858c987e921427c Message: Add temporary error for invalid request It should be fixed for sending error message to client. Modified files: lib/droonga/adapter.rb Modified: lib/droonga/adapter.rb (+3 -0) =================================================================== --- lib/droonga/adapter.rb 2013-11-21 16:17:45 +0900 (668af51) +++ lib/droonga/adapter.rb 2013-11-21 16:18:24 +0900 (c9aa279) @@ -54,6 +54,9 @@ module Droonga command :table_create def table_create(request) + unless envelope["dataset"] + raise "dataset must be set. FIXME: This error should return client." + end broadcast_all(request) end -------------- next part -------------- HTML����������������������������...Download