Browse Source

HPCC-8839 Include sizes in key-row size error message

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 12 years ago
parent
commit
03057dfb6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/jhtree/ctfile.cpp

+ 1 - 1
system/jhtree/ctfile.cpp

@@ -365,7 +365,7 @@ bool CWriteNode::add(offset_t pos, const void *indata, size32_t insize, unsigned
     }
 
     if (insize>keyLen)
-        throw MakeStringException(0, "key+payload exceeds max length");
+        throw MakeStringException(0, "key+payload (%u) exceeds max length (%u)", insize, keyLen);
     memcpy(lastKeyValue, indata, insize);
     lastSequence = sequence;
     hdr.numKeys++;