[Groonga-commit] groonga/groonga at 77738f1 [master] mruby: follow backtrace format change

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Mon Apr 9 18:15:35 JST 2018


Kouhei Sutou	2018-04-09 18:15:35 +0900 (Mon, 09 Apr 2018)

  New Revision: 77738f1ed5ea3f9c35c3d5bf2ff492d0a53f6ed8
  https://github.com/groonga/groonga/commit/77738f1ed5ea3f9c35c3d5bf2ff492d0a53f6ed8

  Message:
    mruby: follow backtrace format change

  Modified files:
    lib/mrb/scripts/backtrace_entry.rb

  Modified: lib/mrb/scripts/backtrace_entry.rb (+1 -1)
===================================================================
--- lib/mrb/scripts/backtrace_entry.rb    2018-04-09 18:00:12 +0900 (34f95e968)
+++ lib/mrb/scripts/backtrace_entry.rb    2018-04-09 18:15:35 +0900 (4cb7a9f78)
@@ -6,7 +6,7 @@ module Groonga
         file = match_data.pre_match
         line = match_data[1].to_i
         detail_match_data = /\A(in )?(\S+)\s*/.match(match_data.post_match)
-        if detail_match_data[1]
+        if detail_match_data and detail_match_data[1]
           method = detail_match_data[2]
           message = detail_match_data.post_match
         else
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180409/b198f0c0/attachment.htm 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index