more abstraction of error message

pull/1/head
sixcooler 13 years ago
parent 9758c521ab
commit 2c5b68d932

@ -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

Loading…
Cancel
Save