Skip to content

Improve error logging on nextRoundIsNotSupported#920

Merged
tsachiherman merged 1 commit intoalgorand:masterfrom
tsachiherman:tsachi/moreinfoonfailedblockretrieval
Mar 20, 2020
Merged

Improve error logging on nextRoundIsNotSupported#920
tsachiherman merged 1 commit intoalgorand:masterfrom
tsachiherman:tsachi/moreinfoonfailedblockretrieval

Conversation

@tsachiherman
Copy link
Copy Markdown
Contributor

@tsachiherman tsachiherman commented Mar 19, 2020

Summary

The error logging that we've had at nextRoundIsNotSupported wasn't that great.

nextRoundIsNotSupported: could not retrieve last block (5372709) from the ledger.

In this PR, I have extended that to contain the originating error from the database.
This would hopefully give us some better idea of what went wrong and allow us to address the originating issue.

Resolves #911

@tsachiherman tsachiherman added the 1 label Mar 19, 2020
@tsachiherman tsachiherman self-assigned this Mar 19, 2020
Copy link
Copy Markdown
Contributor

@algonautshant algonautshant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. thanks.

@tsachiherman tsachiherman merged commit 1de930d into algorand:master Mar 20, 2020
@tsachiherman tsachiherman deleted the tsachi/moreinfoonfailedblockretrieval branch March 20, 2020 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Catchup service reports "could not retrieve last block"

4 participants