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: Remove device from "configuring" when an error occurs during device configuration #19908

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

slugzero
Copy link
Contributor

I noticed that I cannot reconfigure a device (e.g. from the frontend) if a previous configuration attempt has failed, e.g. due to a timeout error. The reason for this is that the device is not removed from this.configuring before the function exits when an error is thrown. In any subsequent call, the function will return immediately because this.configuring is still set (line 105/106).

@Koenkk Koenkk changed the base branch from master to dev November 30, 2023 22:01
@Koenkk Koenkk merged commit a904e7a into Koenkk:dev Nov 30, 2023
11 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Nov 30, 2023

Thanks!

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.

2 participants