directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [3/3] directory-kerby git commit: Output the keytab filename in the exception message
Date Wed, 03 May 2017 11:52:51 GMT
Output the keytab filename in the exception message


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/fd02601e
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/fd02601e
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/fd02601e

Branch: refs/heads/trunk
Commit: fd02601ec588bf90599f48ea0d18a54bab6d8315
Parents: 5e84ee4
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed May 3 12:47:14 2017 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed May 3 12:47:14 2017 +0100

----------------------------------------------------------------------
 .../kerby/kerberos/kerb/admin/kadmin/local/AdminHelper.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/fd02601e/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/kadmin/local/AdminHelper.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/kadmin/local/AdminHelper.java
b/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/kadmin/local/AdminHelper.java
index 8276a43..3d8083e 100644
--- a/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/kadmin/local/AdminHelper.java
+++ b/kerby-kerb/kerb-admin/src/main/java/org/apache/kerby/kerberos/kerb/admin/kadmin/local/AdminHelper.java
@@ -122,7 +122,8 @@ public final class AdminHelper {
                 keytab = Keytab.loadKeytab(keytabFile);
             }
         } catch (IOException e) {
-            throw new KrbException("Failed to load or create keytab", e);
+            throw new KrbException("Failed to load or create keytab "
+                + keytabFile.getAbsolutePath(), e);
         }
 
         return keytab;


Mime
View raw message