diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-06 00:42:51 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-06 00:42:51 +0900 |
| commit | 8945afe38ea26b72037cea75fb94d88712b79a94 (patch) | |
| tree | ee9c40c9f42992ee22352210ab0349c92840dd2d | |
| parent | 8ecd38d64879536b1c26c19b0a32246e520d6352 (diff) | |
| parent | 80965fe2d773d4a26bc9a89e5ea5d60c65d9e394 (diff) | |
| download | mruby-8945afe38ea26b72037cea75fb94d88712b79a94.tar.gz mruby-8945afe38ea26b72037cea75fb94d88712b79a94.zip | |
Merge pull request #5322 from shuujii/fix-message-of-ThrowCatchJump-in-mruby-catch-gem
Fix message of `ThrowCatchJump` in `mruby-catch` gem
| -rw-r--r-- | mrbgems/mruby-catch/mrblib/catch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-catch/mrblib/catch.rb b/mrbgems/mruby-catch/mrblib/catch.rb index 89eedf66a..f8dcb3e84 100644 --- a/mrbgems/mruby-catch/mrblib/catch.rb +++ b/mrbgems/mruby-catch/mrblib/catch.rb @@ -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 |
