Skip to content

Commit a6b9deb

Browse files
committed
debug: Add more checks
Signed-off-by: gsstoykov <[email protected]>
1 parent cc18b9d commit a6b9deb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/sdk/main/src/Client.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ void Client::updateAddressBook()
685685
try
686686
{
687687
mImpl->mLogger.trace("Updating address book after INVALID_NODE_ACCOUNT response");
688+
std::cout << "Updating address book after INVALID_NODE_ACCOUNT response" << std::endl;
688689

689690
// Get the address book - do NOT hold the mutex during query execution
690691
// as execute() will call other Client methods that also need the mutex

src/sdk/main/src/Executable.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ SdkResponseType Executable<SdkRequestType, ProtoRequestType, ProtoResponseType,
234234
}
235235
case ExecutionStatus::RETRY_WITH_ANOTHER_NODE:
236236
{
237+
std::cout << "Received INVALID_NODE_ACCOUNT; updating addressbook and marking node as unhealthy, nodeAccountId: " << node->getAccountId().toString() << " during attempt #" << attempt << std::endl;
237238
mLogger.trace("Received INVALID_NODE_ACCOUNT; updating addressbook and marking node as unhealthy, nodeAccountId: " +
238239
node->getAccountId().toString() + " during attempt #" + std::to_string(attempt));
239240

0 commit comments

Comments
 (0)