-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unhandled promise rejections #18
Comments
same issue here ... if I start spotify on my alexas per voice - homekit light goes on, I can turn it off in the homekit but cant start to play Music on a other device from homekit. |
I'll have a look |
I just published a new version (0.4.5) with improved error handling that hopefully fixes these issues |
Hi Anna Still the same issue - my log shows: |
Newcomer here running latest Homebridge on Ubuntu 20.04 with Node v14.16.1
The volume can be adjusted just fine from HomeKit, but I am getting a getting missing catch errors - or a missing process.exit whenever playback starts or the volume is adjusted. I am guessing a code need to be added to the spotify_api.rs file:
(node:100584) UnhandledPromiseRejectionWarning: Error starting playback (...and Error updating volume)
(node:100584) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 11)The text was updated successfully, but these errors were encountered: