Adds a try-catch to handle parse errors in client.

Do we really need this here?