bermi/sauce-connect-launcher — pull request #43 by stu-salsbury (2014-11-18 22:11:02+00:00)
Title: handle errors reported as JSON, `{"error":...`

At least on OS X, the current version of sc is reporting credentials
errors as:

`Response: {"error": "Not authorized"}.`

Break out error handling function and apply it to existing string as
well as the string `"{\"error\":"`.