[前][次][番号順一覧][スレッド一覧]

ruby-changes:66299

From: Takashi <ko1@a...>
Date: Sat, 22 May 2021 15:37:43 +0900 (JST)
Subject: [ruby-changes:66299] fb4195b969 (master): Show a backtrace when tool/extlibs.rb fails

https://git.ruby-lang.org/ruby.git/commit/?id=fb4195b969

From fb4195b9695c5e1034c896ea41a3e0371bfdb48a Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Fri, 21 May 2021 23:36:55 -0700
Subject: Show a backtrace when tool/extlibs.rb fails

I'd like to retry this kind of error, but showing no backtrace is hard
to deal with.
https://github.com/ruby/ruby/runs/2644908002
---
 tool/extlibs.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/extlibs.rb b/tool/extlibs.rb
index 5e8628c..cd8e523 100755
--- a/tool/extlibs.rb
+++ b/tool/extlibs.rb
@@ -243,7 +243,7 @@ class ExtLibs https://github.com/ruby/ruby/blob/trunk/tool/extlibs.rb#L243
           begin
             extracted = do_command(mode, dest, url, cache_dir, chksums)
           rescue => e
-            warn e.inspect
+            warn e.full_message
             success = false
           end
           url = chksums = nil
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]