YUKI Hiroshi
null+****@clear*****
Mon Feb 17 18:28:23 JST 2014
YUKI Hiroshi 2014-02-17 18:28:23 +0900 (Mon, 17 Feb 2014) New Revision: cf5aafb072bc2b850aca8f60aa9e7c9ac79782dc https://github.com/droonga/fluent-plugin-droonga/commit/cf5aafb072bc2b850aca8f60aa9e7c9ac79782dc Message: Return error resposne for LoadError and SyntaxError also Modified files: lib/droonga/dispatcher.rb Modified: lib/droonga/dispatcher.rb (+1 -1) =================================================================== --- lib/droonga/dispatcher.rb 2014-02-17 17:54:04 +0900 (acd69d1) +++ lib/droonga/dispatcher.rb 2014-02-17 18:28:23 +0900 (6c6bec8) @@ -99,7 +99,7 @@ module Droonga rescue MessageProcessingError => error reply("statusCode" => error.status_code, "body" => error.response_body) - rescue => error + rescue StandardError, LoadError, SyntaxError => error Logger.error("failed to process input message", error) formatted_error = MessageProcessingError.new("Unknown internal error") reply("statusCode" => formatted_error.status_code, -------------- next part -------------- HTML����������������������������...Download