Skip to content

Commit

Permalink
Remove printStackTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
DieKautz committed Feb 7, 2024
1 parent 65776c9 commit c3e179d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ private Object doExternalCall(final MaterializedFrame frame) {
}
return returnValue;
} catch (UnsupportedMessageException | UnknownIdentifierException | ArityException | UnsupportedTypeException e) {
// for debugging purposes TODO: remove me
e.printStackTrace(System.err);
throw PrimitiveFailed.GENERIC_ERROR;
throw CompilerDirectives.shouldNotReachHere(e);
} finally {
if (interpreterProxy != null) {
interpreterProxy.postPrimitiveCleanups();
Expand Down

0 comments on commit c3e179d

Please sign in to comment.