Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/org/jruby/RubyClass.java
Original file line number Diff line number Diff line change
@@ -689,7 +689,9 @@ private static IRubyObject checkFuncallMissing(ThreadContext context, RubyClass
else {
try {
return checkFuncallExec(context, self, method, args);
} catch (Exception e) {
} catch (RaiseException e) {
// clear $!
context.setErrorInfo(context.nil);
return checkFuncallFailed(context, self, method, runtime.getNoMethodError(), args);
}
}

0 comments on commit 1ad4a59

Please sign in to comment.