[LIB-9] Fix error in toString() function of exceptions
[chesshog.git] / src / main / java / org / hedgecode / chess / uci / AcceptorException.java
index f19da9a..0d0de88 100644 (file)
@@ -55,7 +55,7 @@ public class AcceptorException extends Exception {
         );
         if (message != null)
             sb.append(": [").append(message).append("]");
-        return message;
+        return sb.toString();
     }
 
 }