xat / chromecast-player

simple chromecast player
MIT License
99 stars 20 forks source link

Emit error (instead of failing). #15

Open smblott-github opened 6 years ago

smblott-github commented 6 years ago

Previously, if no player app loaded, an asynchronous exception was raised. There was no way to catch this exception, and therefore no possibility to recover.

Instead, here, emit an error.

(I'm not sure if this might not have unintended consequences.)