You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2022/05/17 22:17:48 UTC

[juddi] branch master updated: NOJIRA adding logging statement to debug ci test failures

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

alexoree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juddi.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f4137d8e NOJIRA adding logging statement to debug ci test failures
9f4137d8e is described below

commit 9f4137d8e1ca94f68cf0f1ea1851669c6d8e5312
Author: Alex O'Ree <al...@apache.org>
AuthorDate: Tue May 17 18:17:43 2022 -0400

    NOJIRA adding logging statement to debug ci test failures
---
 .../src/main/java/org/apache/juddi/v3/auth/JUDDIAuthenticator.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/juddi-core/src/main/java/org/apache/juddi/v3/auth/JUDDIAuthenticator.java b/juddi-core/src/main/java/org/apache/juddi/v3/auth/JUDDIAuthenticator.java
index add0e168d..832953dba 100644
--- a/juddi-core/src/main/java/org/apache/juddi/v3/auth/JUDDIAuthenticator.java
+++ b/juddi-core/src/main/java/org/apache/juddi/v3/auth/JUDDIAuthenticator.java
@@ -93,6 +93,11 @@ public class JUDDIAuthenticator implements Authenticator {
                                 tx.commit();
                         }
                         return authorizedName;
+                } catch (Exception ex) {
+                    //note: we saw an ArrayIndexOutOfBounds exception when using github actions for CI
+                    //with hibernate on derby, root cause is still tbd
+                    log.error("error during authentication routine, could indicate a database issue", ex);
+                    throw ex;
                 } finally {
                         if (tx.isActive()) {
                                 tx.rollback();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org