[java-support] branch master updated: Eliminate some redundant stack logging.
Scott Cantor
cantor.2 at osu.edu
Thu Dec 19 09:44:27 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=d88645ee7ae01ca943e43f9416c8f9fd95a1f7df
The following commit(s) were added to refs/heads/master by this push:
new d88645e Eliminate some redundant stack logging.
d88645e is described below
commit d88645ee7ae01ca943e43f9416c8f9fd95a1f7df
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 19 09:44:23 2019 -0500
Eliminate some redundant stack logging.
---
.../net/shibboleth/utilities/java/support/security/DataSealer.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java b/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
index 002e966..61da28e 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
@@ -248,7 +248,7 @@ public class DataSealer extends AbstractInitializableComponent {
log.error(e.getMessage());
throw new DataSealerException("Exception loading key", e);
} catch (final GeneralSecurityException | IOException | DecoderException | IllegalArgumentException e) {
- log.error("Exception unwrapping data", e);
+ log.error("Exception unwrapping data: {}", e.getMessage());
throw new DataSealerException("Exception unwrapping data", e);
}
}
@@ -369,7 +369,7 @@ public class DataSealer extends AbstractInitializableComponent {
return new String(encoder.encode(finalByteStream.toByteArray()), StandardCharsets.UTF_8);
} catch (final Exception e) {
- log.error("Exception wrapping data", e);
+ log.error("Exception wrapping data: {}", e.getMessage());
throw new DataSealerException("Exception wrapping data", e);
}
@@ -415,7 +415,7 @@ public class DataSealer extends AbstractInitializableComponent {
decrypted = new String(plaintext, StandardCharsets.UTF_8);
} catch (final IllegalStateException | GeneralSecurityException e) {
- log.error("Round trip encryption/decryption test unsuccessful", e);
+ log.error("Round trip encryption/decryption test unsuccessful: {}", e.getMessage());
throw new DataSealerException("Round trip encryption/decryption test unsuccessful", e);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list