Pārlūkot izejas kodu

Merge pull request #4004 from ghalliday/issue8839

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

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 gadi atpakaļ
vecāks
revīzija
a5369db031
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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++;