summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mrbgems/mruby-catch/mrblib/catch.rb2
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