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

Refactored bug reporting to log to one function. #253

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

sean-gilliam
Copy link
Collaborator

This PR is prep work for including a standardized logging framework (such as spdlog) to the codebase. It takes the three different bug reporting functions and consolidated them under the RS.Bug function.

The one in db.c was confusing to reason about and was error-prone, as a previous PR showed. The one in mud.c (RS.Bug) includes the gist of what the one in db.c was trying to convey.

Copy link
Owner

@rezalas rezalas left a comment

Choose a reason for hiding this comment

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

Some of these bug messages are the absolute worse <.<

@rezalas rezalas merged commit 815facb into rezalas:main Feb 29, 2024
3 checks passed
@sean-gilliam
Copy link
Collaborator Author

Most definitely. Didn't want to mess with the messages, though, as I thought that would clutter the meaning behind the PR.

@sean-gilliam sean-gilliam deleted the centralize-bugs branch February 29, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants