Skip to content

Commit 6d7a50e

Browse files
committed
Let's log exception's class
1 parent 7c7d586 commit 6d7a50e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def start_control(host, port, notify_dispatcher)
124124
IdeControlCommandProcessor.new(interface).process_commands
125125
rescue StandardError, ScriptError => ex
126126
bt = ex.backtrace
127-
$stderr.printf "#{Process.pid}: Exception in DebugThread loop: #{ex.message}\nBacktrace:\n#{bt ? bt.join("\n from: ") : "<none>"}\n"
127+
$stderr.printf "#{Process.pid}: Exception in DebugThread loop: #{ex.message}(#{ex.class})\nBacktrace:\n#{bt ? bt.join("\n from: ") : "<none>"}\n"
128128
exit 1
129129
end
130130
end

0 commit comments

Comments
 (0)