Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -71,8 +71,6 @@ public DynamicObject toTruffle(org.jruby.RubyException jrubyException, RubyNode
switch (jrubyException.getMetaClass().getName()) {
case "ArgumentError":
return context.getCoreLibrary().argumentError(jrubyException.getMessage().toString(), currentNode);
case "Encoding::CompatibilityError":
return context.getCoreLibrary().encodingCompatibilityError(jrubyException.getMessage().toString(), currentNode);
case "RegexpError":
return context.getCoreLibrary().regexpError(jrubyException.getMessage().toString(), currentNode);
}

1 comment on commit a68080f

@chrisseaton
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nirvdrum I don't know if you were using this for something, but it never gets executed for any test we run.

Sorry, something went wrong.

Please sign in to comment.