summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-error/src/exception.c
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-error/src/exception.c')
-rw-r--r--mrbgems/mruby-error/src/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-error/src/exception.c b/mrbgems/mruby-error/src/exception.c
index ca26b8819..ffa7d53bf 100644
--- a/mrbgems/mruby-error/src/exception.c
+++ b/mrbgems/mruby-error/src/exception.c
@@ -31,7 +31,7 @@ mrb_ensure(mrb_state *mrb, mrb_func_t body, mrb_value b_data, mrb_func_t ensure,
mrb_gc_arena_restore(mrb, ai);
mrb_gc_protect(mrb, result);
if (error) {
- mrb_exc_raise(mrb, result); /* rethrow catched exceptions */
+ mrb_exc_raise(mrb, result); /* rethrow caught exceptions */
}
return result;
}