Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Error handling in setupSonos() - Proposal #91

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

iona5
Copy link

@iona5 iona5 commented Jan 17, 2015

This is a proposal how error handling can be handled in AirSonos.

I don't know if there is a "more correct" way to do this or if there are any pitfalls i am not aware of. Still trying to figure this stuff out.

This pull requests includes also pull request #88 ("adding support for manual setup of Sonos devices")

iona5 added 6 commits January 10, 2015 13:28
* moved setup code from anonymous function into setupSonos()
* added argument "--devices"  - takes comma-separated list of IP[:Port]
…vice throws error

* individual setups should run in a domain, so we can catch errors individually
* fixed indents to two spaces
* changed formatting of string concatination
* slight change of error messages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant