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

Don't use ERR_PRINT_ONCE() for runtime class error because it will hide errors #92216

Merged

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented May 21, 2024

This is a follow-up to PR #88683 which added this ERR_PRINT_ONCE().

On PR #91018, I learned that ERR_PRINT_ONCE() didn't work the way I thought it did, and that using it here would hide errors that we want to see.

That PR is targeting Godot 4.4, so this PR is just taking the bit switching ERR_PRINT_ONCE() to ERR_PRINT() for inclusion in Godot 4.3.

@dsnopek dsnopek added this to the 4.3 milestone May 21, 2024
@dsnopek dsnopek requested a review from a team May 21, 2024 19:02
@dsnopek dsnopek requested a review from a team as a code owner May 21, 2024 19:02
@akien-mga akien-mga merged commit 2149682 into godotengine:master May 21, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@dsnopek dsnopek deleted the runtime-classes-err-print-once branch July 22, 2024 15:34
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.

3 participants