You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2010/03/26 16:20:49 UTC

svn commit: r927910 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java

Author: elecharny
Date: Fri Mar 26 15:20:46 2010
New Revision: 927910

URL: http://svn.apache.org/viewvc?rev=927910&view=rev
Log:
Fixed the error message by dumping the bytes

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java?rev=927910&r1=927909&r2=927910&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultServerAttribute.java Fri Mar 26 15:20:46 2010
@@ -310,7 +310,7 @@ public final class DefaultServerAttribut
                 catch( LdapException ne )
                 {
                     // The value can't be normalized : we don't add it.
-                    LOG.error( I18n.err( I18n.ERR_04449, val ) );
+                    LOG.error( I18n.err( I18n.ERR_04449, StringTools.dumpBytes( val ) ) );
                     return 0;
                 }
                 
@@ -320,7 +320,7 @@ public final class DefaultServerAttribut
                 }
                 else
                 {
-                    LOG.error( I18n.err( I18n.ERR_04450, val ) );
+                    LOG.error( I18n.err( I18n.ERR_04450, StringTools.dumpBytes( val ) ) );
                 }
             }