-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app-shell): forward usb request errors and log (#15959)
We were swallowing all errors from usb requests, which doesn't seem like a great idea - it definitely led to lots of errors in browser logs. Fixing this by propagating the errors back across the IPC allows the browser-side tanstack query stuff to actually notice that there were errors. Previously, those queries would just come back with `undefined`, and stuff higher up the stack would see that its maintenance run data was `undefined`, which is not something we test for or care about. This seems to be a magic bullet that fixes various USB stability issues; I'm a bit suspicious of it solving _everything_, but in my testing it solves some things and it certainly can't hurt. Closes RQA-2931 RQA-2933
- Loading branch information
Showing
3 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters