Closed pranavparikh closed 10 years ago
https://github.com/yahoo/arrow/blob/master/lib/controller/webservice-controller.js#L92 var result = JSON.parse(data);
If JSON.parse failed ( when data is blank for instance ), it threw the exception SyntaxError:Unexpected end of input
This PR will handle the exception.
https://github.com/yahoo/arrow/blob/master/lib/controller/webservice-controller.js#L92 var result = JSON.parse(data);
If JSON.parse failed ( when data is blank for instance ), it threw the exception SyntaxError:Unexpected end of input
This PR will handle the exception.