From 8bb0aec5f4c45eee6ae6186c7396b4b98e5287ab Mon Sep 17 00:00:00 2001 From: Guido Grune Date: Thu, 24 Oct 2024 10:57:12 +0200 Subject: [PATCH] print stack traces to the System.err Signed-off-by: Guido Grune --- biz.aQute.remote/src/aQute/remote/agent/AgentServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biz.aQute.remote/src/aQute/remote/agent/AgentServer.java b/biz.aQute.remote/src/aQute/remote/agent/AgentServer.java index 5a616332b3..46c1d96d0b 100644 --- a/biz.aQute.remote/src/aQute/remote/agent/AgentServer.java +++ b/biz.aQute.remote/src/aQute/remote/agent/AgentServer.java @@ -597,7 +597,7 @@ public void frameworkEvent(FrameworkEvent event) { private void printStack(Exception e1) { try { - e1.printStackTrace(redirector.getOut()); + e1.printStackTrace(); } catch (Exception e) { // }