Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

openWakeword should detect a non-working wakeword page #1856

Open
ianb opened this issue Jul 30, 2020 · 0 comments
Open

openWakeword should detect a non-working wakeword page #1856

ianb opened this issue Jul 30, 2020 · 0 comments

Comments

@ianb
Copy link
Contributor

ianb commented Jul 30, 2020

In main.js:openWakeword there's code that finds a wakeword tab and sends a message:

    await sendMessage({ type: "updateWakeword" }, { tabId: tabs[0].id });

But it doesn't catch any errors, so if the page is open but not working then it won't reload. It should catch an error and reload.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant