Skip to content

Commit

Permalink
Use ProgramDefErr.toString to get file and line info on exit
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Jan 16, 2017
1 parent 12dae1c commit 0bdd7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/som/vm/ObjectSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public MixinDefinition loadModule(final Source source) throws IOException {
loadedModules.put(uri, module);
return module;
} catch (ProgramDefinitionError e) {
VM.errorExit(e.getMessage());
VM.errorExit(e.toString());
throw new IOException(e);
}
}
Expand Down

0 comments on commit 0bdd7d3

Please sign in to comment.