Skip to content

Commit

Permalink
Improve error output
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebFenton committed Oct 16, 2018
1 parent fe7da19 commit b6eedc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smalivm/src/main/java/org/cf/smalivm/NodeExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void execute(ExecutionNode node) throws UnhandledVirtualException {
int childAddress = exceptionResolver.resolve(e, node.getAddress());
if (childAddress <= 0) {
throw new RuntimeException("Real exception was thrown executing " + node +
" and was not handled. This could be a bug in smalivm.\nException: " + e);
" and was not handled. This could be a bug in smalivm.", e);
} else {
if (log.isWarnEnabled()) {
log.warn("{} threw a real exception but was caught by an exception handler. " +
Expand Down

0 comments on commit b6eedc4

Please sign in to comment.