alaingilbert/Turntable-API — pull request #78 by gizmotronic (2012-06-17 06:36:05+00:00)
Title: Change to handle incorrect server response

During one of the Turntable outages several weeks ago, I noticed that the server was responding with status code 302 to the request in the which_server method. This change wraps the JSON.parse() call in a try-catch so that we can handle the condition gracefully.