Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change eth trace from 'Message not expected' to 'Request message' #6734

Merged
merged 5 commits into from
Jun 13, 2024

Conversation

matthew1001
Copy link
Contributor

PR description

Change the trace entry for messages that aren't response-type messages.

Fixed Issue(s)

N/A

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
@@ -425,7 +425,7 @@ Optional<RequestManager> dispatch(final EthMessage ethMessage, final String prot
localRequestManager -> localRequestManager.dispatchResponse(ethMessage),
() -> {
LOG.trace(
"Message {} not expected has just been received for protocol {}, peer {} ",
"Request message has just been received for protocol {}, peer {} ",
Copy link
Contributor

Choose a reason for hiding this comment

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

you're missing a set of {}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @macfarla, just fixed and moved the PR out of draft.

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
@matthew1001 matthew1001 marked this pull request as ready for review June 13, 2024 07:17
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

spotless needs fixing, otherwise LGTM

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
@matthew1001 matthew1001 enabled auto-merge (squash) June 13, 2024 10:20
@matthew1001 matthew1001 merged commit 1ee35a3 into hyperledger:main Jun 13, 2024
40 checks passed
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.

2 participants