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

Slightly improve logging around failed init conditions #1000

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

eritbh
Copy link
Member

@eritbh eritbh commented Oct 10, 2024

Just making errors slightly more specific and using the fancy Error.cause property to preserve original error information in case a fetch fails or whatever.

Also makes the "echo check" we do on init to ensure settings are writable actually write a new value every time, to make sure we're not just reading out the value we wrote previous launch... alternatively we could probably just remove that check at some point, but given I have plans to touch some storage stuff eventually, it'll probably be a good thing to keep there juuuust in case

@eritbh eritbh merged commit d8088f7 into master Oct 10, 2024
3 checks passed
@eritbh eritbh deleted the chore/better-init-error-logging branch October 10, 2024 22:06
@eritbh eritbh added this to the v7 milestone Oct 10, 2024
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.

1 participant