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

Plugins: allow returning errors when instantiating plugin getter/setter #10778

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

andig
Copy link
Member

@andig andig commented Nov 14, 2023

Fix #10775

This PR accepts the fact that not all instantiation errors happen when creating the plugin, but sometimes only when creating the specific getter or setter. Hence, creating the accessor should also be able to return errors. Doesn't make the code nicer but handles more error cases in a controlled way.

@MarkusGH könntest Du das mal bitte testen?

@andig andig added bug Something isn't working infrastructure Basic functionality labels Nov 14, 2023
@MarkusGH
Copy link
Contributor

@MarkusGH könntest Du das mal bitte testen?

Gerne, aber wenn Du ein schnelles Resultat möchtest, dann solltest Du bitte einen Nightly anstoßen - ich bin ab morgen 8 Tage AFK.

@andig andig mentioned this pull request Nov 15, 2023
4 tasks
@andig andig changed the title Plugins: allow returning errors when instantiating plugins Plugins: allow returning errors when instantiating plugin getter/setter Nov 15, 2023
@andig andig force-pushed the feature/provider-errors branch from 70f068b to 508f017 Compare November 17, 2023 09:18
@andig andig force-pushed the feature/provider-errors branch from 508f017 to da1aed1 Compare November 19, 2023 12:23
@andig andig merged commit 2b5e6c1 into master Nov 20, 2023
@andig andig deleted the feature/provider-errors branch November 20, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure Basic functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenWB: wait for initial mqtt value
2 participants