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

Improve error handling #19

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Improve error handling #19

merged 2 commits into from
Sep 6, 2024

Conversation

Daft-Freak
Copy link
Contributor

Getting the error message when a file fails to load instead of "attempt to call a string value" because we tried to execute the error message is... more useful. Also not flashing random junk is nice.

(Yeah, I know... TWO lua PRs at once. How unexpected.)

Otherwise we get "attempt to call a string value" from the next pcall instead of the actual error
Better than flickering uninitialised data
@Daft-Freak Daft-Freak merged commit 293e467 into main Sep 6, 2024
8 checks passed
@Daft-Freak Daft-Freak deleted the patch-error-handling branch September 6, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant