Permalink
Browse files

Avoid printStackTrace when calling erlang:halt

  • Loading branch information...
1 parent cbc4101 commit 1659ebbccc53ace30391016658373e4b271b7a26 @krestenkrab krestenkrab committed Jun 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/erjang/EProc.java
View
3 src/main/java/erjang/EProc.java
@@ -533,7 +533,8 @@ public void execute() throws Pausable {
do_proc_termination(result);
} catch (ErlangHalt e) {
- throw e;
+ return;
+ // throw e;
} catch (ThreadDeath e) {
throw e;

0 comments on commit 1659ebb

Please sign in to comment.