Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

more abstraction of error message

sixcooler2c5b68d932bd
diff --git a/htroot/IndexControlRWIs_p.java b/htroot/IndexControlRWIs_p.java
index 1f7ccf37b..6a5249392 100644
--- a/htroot/IndexControlRWIs_p.java
+++ b/htroot/IndexControlRWIs_p.java
@@ -270,7 +270,7 @@ public class IndexControlRWIs_p {
if ( post.containsKey("urllist") ) {
if ( keystring.length() == 0 || !ByteBuffer.equals(Word.word2hash(keystring), keyhash) ) {
- prop.put("keystring", "<not possible to compute word from hash>");
+ prop.put("keystring", "<" + errmsg + ">");
}
final Bitfield flags = compileFlags(post);
final int count = (post.get("lines", "all").equals("all")) ? -1 : post.getInt("lines", -1);
@@ -282,7 +282,7 @@ public class IndexControlRWIs_p {
if ( post.containsKey("keyhashtransfer") ) {
try {
if ( keystring.length() == 0 || !ByteBuffer.equals(Word.word2hash(keystring), keyhash) ) {
- prop.put("keystring", "<not possible to compute word from hash>");
+ prop.put("keystring", "<" + errmsg + ">");
}
// find host & peer