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

refactor: ♻️ lowered the log level from fatal to error #304

Conversation

KANAjetzt
Copy link
Member

It can be confusing when the assert is triggered in the utility function, as the error message is naturally more generic. Reducing it to just "error" allows the calling function to assert and provide a more detailed error message.

It can be confusing when the assert is triggered in the utility function, as the error message is naturally more generic. Reducing it to just "error" allows the calling function to assert and provide a more detailed error message.
@KANAjetzt KANAjetzt added the refactor / cleanup Improves readability or maintainability label Jun 28, 2023
@KANAjetzt KANAjetzt added this to the v6.0.1 milestone Jun 28, 2023
@KANAjetzt KANAjetzt requested review from Qubus0 and a team June 28, 2023 07:39
@KANAjetzt KANAjetzt self-assigned this Jun 28, 2023
@KANAjetzt KANAjetzt mentioned this pull request Jun 28, 2023
Copy link
Collaborator

@Qubus0 Qubus0 left a comment

Choose a reason for hiding this comment

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

yeah that seems cleaner

@KANAjetzt KANAjetzt added this pull request to the merge queue Jun 28, 2023
Merged via the queue into GodotModding:development with commit 4bad0c1 Jun 28, 2023
@KANAjetzt KANAjetzt deleted the refactor_ModLoaderPath_fatal_to_error branch June 30, 2023 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor / cleanup Improves readability or maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants