Fix error message
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 22 Oct 2022 10:38:45 +0000 (12:38 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 22 Oct 2022 10:38:45 +0000 (12:38 +0200)
org.argeo.util/src/org/argeo/util/directory/ldap/AbstractLdapDirectory.java

index 28d8d081ccdcfb875e5ce8941086f01cc3be3c00..74dd15edec4c658ca9df5af3a3446e7b0cb1cf4e 100644 (file)
@@ -393,7 +393,7 @@ public abstract class AbstractLdapDirectory implements Directory, XAResourceProv
                        }
                        return name;
                } catch (InvalidNameException e) {
-                       throw new IllegalStateException("Cannot get role " + path, e);
+                       throw new IllegalStateException("Cannot convert " + path + " to LDAP name", e);
                }
 
        }