We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b30370 commit 80d2878Copy full SHA for 80d2878
lib/irb.rb
@@ -426,7 +426,10 @@ def handle_exception(exc)
426
# The "<top (required)>" in "(irb)" may be the top level of IRB so imitate the main object.
427
message = message.gsub(/\(irb\):(?<num>\d+):in (?<open_quote>[`'])<(?<frame>top \(required\))>'/) { "(irb):#{$~[:num]}:in #{$~[:open_quote]}<main>'" }
428
puts message
429
- puts 'Maybe IRB bug!' if irb_bug
+
430
+ if irb_bug
431
+ puts "This may be an issue with IRB. If you believe this is an unexpected behavior, please report it to https://github.com/ruby/irb/issues"
432
+ end
433
rescue Exception => handler_exc
434
begin
435
puts exc.inspect
0 commit comments