From 7c5a2ebe3a0c162d9bd79c23666a4dad6ddf9de8 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 29 Jan 2018 17:15:28 -0500 Subject: [PATCH] print exception class --- share/svi/svi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/svi/svi.rb b/share/svi/svi.rb index 94df7aa..a1675e5 100644 --- a/share/svi/svi.rb +++ b/share/svi/svi.rb @@ -1,7 +1,7 @@ begin rescue Interrupt => e rescue Exception => e - $stderr.puts "Exception: #{e}" + $stderr.puts "#{e.class}: #{e}" e.backtrace.each do |entry| $stderr.puts "> #{entry}" end