[Groonga-commit] droonga/droonga-engine at d0fbe9d [master] Don't assign unused error information

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Mar 20 16:31:39 JST 2015


YUKI Hiroshi	2015-03-20 16:31:39 +0900 (Fri, 20 Mar 2015)

  New Revision: d0fbe9d62597db8efe6943a3cfb321589cb0f006
  https://github.com/droonga/droonga-engine/commit/d0fbe9d62597db8efe6943a3cfb321589cb0f006

  Message:
    Don't assign unused error information

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -1)
===================================================================
--- lib/droonga/engine.rb    2015-03-20 16:26:55 +0900 (a4b34f6)
+++ lib/droonga/engine.rb    2015-03-20 16:31:39 +0900 (9576219)
@@ -130,7 +130,7 @@ module Droonga
 
       begin
         message_timestamp = Time.parse(message["date"])
-      rescue ArgumentError => error
+      rescue ArgumentError
         logger.error("failed to parse the \"date\" field of a message",
                      :message => message)
         return false
-------------- next part --------------
HTML����������������������������...
Download 



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