You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2022/06/08 07:51:44 UTC

[ws-wss4j] 01/02: Removing stacktrace

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git

commit 8d42aa56e5d1aa473404a85b9b84e3b3cbd76b3a
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Jun 8 08:48:31 2022 +0100

    Removing stacktrace
---
 .../src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java          | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java b/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
index f58d4f92d..9e2a390d5 100644
--- a/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
+++ b/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
@@ -433,7 +433,6 @@ public final class WSSecurityUtil {
                         header = prependChildElement(envelope, header);
 
                     } catch (Exception e) {
-                        e.printStackTrace();
                         throw new WSSecurityException(WSSecurityException.ErrorCode.INVALID_SECURITY);
                     }