Kouhei Sutou
null+****@clear*****
Tue Feb 18 14:19:43 JST 2014
Kouhei Sutou 2014-02-18 14:19:43 +0900 (Tue, 18 Feb 2014) New Revision: 413a0f3b9e777920dae3786da626c94569b6904c https://github.com/droonga/fluent-plugin-droonga/commit/413a0f3b9e777920dae3786da626c94569b6904c Message: Use same notation as HTTP INTERNAL_ ERROR -> INTERNAL_SERVER_ERROR +++++++ Modified files: lib/droonga/message_processing_error.rb lib/droonga/status_code.rb Modified: lib/droonga/message_processing_error.rb (+1 -1) =================================================================== --- lib/droonga/message_processing_error.rb 2014-02-17 19:09:05 +0900 (e8ae010) +++ lib/droonga/message_processing_error.rb 2014-02-18 14:19:43 +0900 (58866da) @@ -18,7 +18,7 @@ require "droonga/status_code" module Droonga class MessageProcessingError < Error - STATUS_CODE = StatusCode::INTERNAL_ERROR + STATUS_CODE = StatusCode::INTERNAL_SERVER_ERROR attr_reader :detail Modified: lib/droonga/status_code.rb (+1 -1) =================================================================== --- lib/droonga/status_code.rb 2014-02-17 19:09:05 +0900 (da6d2e7) +++ lib/droonga/status_code.rb 2014-02-18 14:19:43 +0900 (e083f19) @@ -20,6 +20,6 @@ module Droonga OK = 200 BAD_REQUEST = 400 NOT_FOUND = 404 - INTERNAL_ERROR = 500 + INTERNAL_SERVER_ERROR = 500 end end -------------- next part -------------- HTML����������������������������...Download