summaryrefslogtreecommitdiff
path: root/tool/extlibs.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-05-21 23:36:55 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2021-05-21 23:36:56 -0700
commitfb4195b9695c5e1034c896ea41a3e0371bfdb48a (patch)
tree0adcd40481200126bd54533b237f7029e9f3036f /tool/extlibs.rb
parent141861a2223560601151db1a351308e489bed9e6 (diff)
downloadruby-fb4195b9695c5e1034c896ea41a3e0371bfdb48a.tar.gz
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
Diffstat (limited to 'tool/extlibs.rb')
-rwxr-xr-xtool/extlibs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/extlibs.rb b/tool/extlibs.rb
index 5e8628cb63..cd8e5239b3 100755
--- a/tool/extlibs.rb
+++ b/tool/extlibs.rb
@@ -243,7 +243,7 @@ class ExtLibs
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