Merge #8141: Continuing port of java comparison tool
ff2dcf2Tests: Edit bloated varint test and add option for 'barely expensive' tests (mrbandrews)12c5a16Catch exceptions from non-canonical encoding and print only to log (mrbandrews)291f8aaContinuing port of java comptool (mrbandrews)8c9e681Tests: Rework blockstore to avoid re-serialization. (mrbandrews)
This commit is contained in:
@@ -5609,6 +5609,11 @@ bool ProcessMessages(CNode* pfrom)
|
||||
// Allow exceptions from over-long size
|
||||
LogPrintf("%s(%s, %u bytes): Exception '%s' caught\n", __func__, SanitizeString(strCommand), nMessageSize, e.what());
|
||||
}
|
||||
else if (strstr(e.what(), "non-canonical ReadCompactSize()"))
|
||||
{
|
||||
// Allow exceptions from non-canonical encoding
|
||||
LogPrintf("%s(%s, %u bytes): Exception '%s' caught\n", __func__, SanitizeString(strCommand), nMessageSize, e.what());
|
||||
}
|
||||
else
|
||||
{
|
||||
PrintExceptionContinue(&e, "ProcessMessages()");
|
||||
|
||||
Reference in New Issue
Block a user