[java-identity-provider] branch main updated: IDP-2416 - Capture more output of failed command line invocations
Codeberg
noreply at shibboleth.net
Wed Jan 7 15:26:59 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/b8d9318bca2f7be7b0fab85d02f9d5d81c4f74e9
The following commit(s) were added to refs/heads/main by this push:
new b8d9318bc IDP-2416 - Capture more output of failed command line invocations
b8d9318bc is described below
commit b8d9318bca2f7be7b0fab85d02f9d5d81c4f74e9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jan 7 10:26:48 2026 -0500
IDP-2416 - Capture more output of failed command line invocations
https://shibboleth.atlassian.net/browse/IDP-2416
Guard against null error stream.
---
idp-cli/src/main/java/net/shibboleth/idp/cli/CLI.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/idp-cli/src/main/java/net/shibboleth/idp/cli/CLI.java b/idp-cli/src/main/java/net/shibboleth/idp/cli/CLI.java
index bd9e52512..ccde45a19 100644
--- a/idp-cli/src/main/java/net/shibboleth/idp/cli/CLI.java
+++ b/idp-cli/src/main/java/net/shibboleth/idp/cli/CLI.java
@@ -172,7 +172,9 @@ public final class CLI {
System.err.println(errorMessage);
if (conn != null) {
try (final InputStream err = conn.getErrorStream()) {
- outputStream(err, System.err);
+ if (err != null) {
+ outputStream(err, System.err);
+ }
} catch (final IOException e) {
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list