Skip to content

Commit a85f871

Browse files
committed
Fix PrintExceptionContinue
1 parent dcad3b6 commit a85f871

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6677,14 +6677,14 @@ bool ProcessMessages(CNode* pfrom)
66776677
// Allow exceptions from non-canonical encoding
66786678
LogPrintf("ProcessMessages(%s, %u bytes): Exception '%s' caught\n", SanitizeString(strCommand), nMessageSize, e.what());
66796679
} else {
6680-
PrintExceptionContinue(&e, strprintf("ProcessMessages(%s, %u bytes)", SanitizeString(strCommand), nMessageSize));
6680+
PrintExceptionContinue(&e, "ProcessMessages()");
66816681
}
66826682
} catch (boost::thread_interrupted) {
66836683
throw;
66846684
} catch (std::exception& e) {
6685-
PrintExceptionContinue(&e, strprintf("ProcessMessages(%s, %u bytes)", SanitizeString(strCommand), nMessageSize));
6685+
PrintExceptionContinue(&e, "ProcessMessages()");
66866686
} catch (...) {
6687-
PrintExceptionContinue(NULL, strprintf("ProcessMessages(%s, %u bytes)", SanitizeString(strCommand), nMessageSize));
6687+
PrintExceptionContinue(NULL, "ProcessMessages()");
66886688
}
66896689

66906690
if (!fRet)

0 commit comments

Comments
 (0)