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

fix(core): better error when deserializing plugin config #9631

Conversation

oscartbeaumont
Copy link
Member

Before:

Error: PluginInitialization("updater", "invalid type: null, expected struct Config")

After:

Error: PluginInitialization("updater", "Error deserializing 'plugins.updater' within your Tauri configuration: invalid type: null, expected struct Config")

@oscartbeaumont oscartbeaumont requested a review from a team as a code owner May 1, 2024 09:24
@FabianLars
Copy link
Member

Thanks! I love seeing PRs like this one 😍 Just like the other PR, we need a small change file.

@oscartbeaumont
Copy link
Member Author

Fixed, sorry!

@amrbashir amrbashir force-pushed the better-error-for-invalid-plugin-config branch from 7f89f81 to 7cf5f45 Compare May 1, 2024 21:36
@amrbashir amrbashir changed the title fix: better error when deserializing plugin config fix(core): better error when deserializing plugin config May 1, 2024
@amrbashir amrbashir merged commit 7f6d269 into tauri-apps:dev May 1, 2024
17 of 19 checks passed
@oscartbeaumont oscartbeaumont deleted the better-error-for-invalid-plugin-config branch May 2, 2024 02:47
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.

3 participants