-
Notifications
You must be signed in to change notification settings - Fork 8
Add more error macros #577
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
Conversation
wvpm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use macros to log 1 message and return.
Require context for log messages.
|
Logger::error already gives context, we don't need to add anything to that. |
Your review does not understand how these macros work.
wvpm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use macros to log 1 message and return.
Require context for log messages.
"Index " _OV_STR(m_index) " = ", m_index
9f40b50 to
4dfb83a
Compare
Hop311
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some stuff could be slightly cleaned up but overall I welcome this, I can help switch stuff to using it once it's merged (especially places we could benefit from unlikely)
Fix error macro names in comments
4dfb83a to
40a5409
Compare
Uh oh!
There was an error while loading. Please reload this page.