Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Remove noisy debug logging statement, fix typo #1897

Merged

Conversation

boydjohnson
Copy link
Contributor

No description provided.

debug!("Not found: {}", s);
ErrorCode::NotFound
}
DatabaseError::NotFoundError(s) => ErrorCode::NotFound,
Copy link
Contributor

Choose a reason for hiding this comment

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

NotFoundError(s) here can be replaced with NotFoundError(_) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, you are right, s isn't being used. I will change this.

Boyd Johnson added 2 commits October 12, 2018 10:49
This happens when the commit store is asked for a block by batch id or
transaction id which happens many times.

Signed-off-by: Boyd Johnson <bjohnson@bitwise.io>
Signed-off-by: Boyd Johnson <bjohnson@bitwise.io>
@boydjohnson boydjohnson force-pushed the fix.logging.statements branch from 23b2ee7 to 5c7a0bb Compare October 12, 2018 15:49
@boydjohnson
Copy link
Contributor Author

Thanks, @arsulegai. Can you re-review?

Copy link
Contributor

@arsulegai arsulegai 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 to me.

@boydjohnson boydjohnson merged commit e32e378 into hyperledger-archives:master Oct 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants