Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Print the StackTrace to the client.
Other solutions like e.g. printing only the classname to the client or somesuch
end up printing out of order and even duplicate information when running
spectest, so this seems least weird.
  • Loading branch information
peschwa committed Nov 7, 2015
1 parent 40cba3f commit 19a7c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/jvm/runtime/org/perl6/nqp/tools/EvalServer.java
Expand Up @@ -168,10 +168,10 @@ public void run() {
} catch (ThreadDeath t) {
// swallowed exit
} catch (Throwable t) {
System.setOut(orgOut);
System.setErr(orgErr);
System.err.print("Error in socket connection:");
t.printStackTrace();
System.setOut(orgOut);
System.setErr(orgErr);
} finally {
System.setOut(orgOut);
System.setErr(orgErr);
Expand Down

0 comments on commit 19a7c2e

Please sign in to comment.