Skip to content

log: Remove error() reference - #29633

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
fjahr:2024-03-error-cleanup
Mar 12, 2024
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
fjahr:2024-03-error-cleanup

Conversation

@fjahr

@fjahr fjahr commented Mar 12, 2024

Copy link
Copy Markdown
Contributor

Mini-followup to #29236 that was just merged. Removes a reference to error() that was missed in a comment.

@DrahtBot

DrahtBot commented Mar 12, 2024 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK ryanofsky, stickies-v, Empact

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Comment thread src/logging.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LogPrintf is deprecated, according to the dev notes, so when touching this line, it could be fixed up as well, to avoid having to touch this again, soon after.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

re: #29633 (comment)

LogPrintf is deprecated, according to the dev notes, so when touching this line, it could be fixed up as well, to avoid having to touch this again, soon after.

FWIW #29256 just deletes this comment, which is not near any of the logging functions and I doubt anyone will see. It is replaced by documentation for the new logging macros.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have removed the LogPrintf reference as well.

FWIW #29256 just deletes this comment

Cool! If that was further along I would simply drop this PR here but I am not clear if the discussion there is fully resolved yet. So I am keeping this open for now but if this stays open longer and #29256 collects ACKs, feel free to close it.

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code review ACK 1ebcd43f5b081e1fb8ad7c33b99321ba137dcbb2

Comment thread src/logging.h Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

re: #29633 (comment)

LogPrintf is deprecated, according to the dev notes, so when touching this line, it could be fixed up as well, to avoid having to touch this again, soon after.

FWIW #29256 just deletes this comment, which is not near any of the logging functions and I doubt anyone will see. It is replaced by documentation for the new logging macros.

@fjahr
fjahr force-pushed the 2024-03-error-cleanup branch from 1ebcd43 to d0e6564 Compare March 12, 2024 15:26

@maflcko maflcko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, thanks!

Could cross-link to the dev notes, if you re-touch.

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code review ACK d0e6564. Just dropped LogPrintf reference since last review

@stickies-v stickies-v left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK d0e6564

@Empact Empact left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK d0e6564

@fanquake
fanquake merged commit 1105aa4 into bitcoin:master Mar 12, 2024
@bitcoin bitcoin locked and limited conversation to collaborators Mar 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants