balanced/balanced-csharp — pull request #48 by rserna2010 (2014-10-23 01:27:29+00:00)
Title: Fix timeout response parse error

Fix https://github.com/balanced/balanced-csharp/issues/47

Rather than looking for a 500 error, client tries to create an api error and once that fails returns an HTTP error. Timeouts return a 504, which is why it was hitting the ELSE statement which requires a json object.