mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #5322 from shuujii/fix-message-of-ThrowCatchJump-in-mruby-catch-gem
Fix message of `ThrowCatchJump` in `mruby-catch` gem
This commit is contained in:
@@ -2,7 +2,7 @@ class ThrowCatchJump < Exception
|
||||
def initialize(tag, val)
|
||||
@tag = tag
|
||||
@val = val
|
||||
super("uncaught throw :#{tag}")
|
||||
super("uncaught throw #{tag.inspect}")
|
||||
end
|
||||
def _tag
|
||||
@tag
|
||||
|
||||
Reference in New Issue
Block a user