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:52:59 UTC

[ws-wss4j] branch 2_2_x-fixes updated: Removing stacktrace

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

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


The following commit(s) were added to refs/heads/2_2_x-fixes by this push:
     new 3030b46c9 Removing stacktrace
3030b46c9 is described below

commit 3030b46c97f897e36183adcb267b6fd39b03a86a
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 28876bb4d..8a12276a9 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
@@ -440,7 +440,6 @@ public final class WSSecurityUtil {
                         header = prependChildElement(envelope, header);
 
                     } catch (Exception e) {
-                        e.printStackTrace();
                         throw new WSSecurityException(WSSecurityException.ErrorCode.INVALID_SECURITY);
                     }