Closed mxmz closed 9 years ago
Thanks for the PR, though it added a bit too much at the time, we're using xml2json
instead, and we're handling batch errors like https://github.com/jpillora/node-edit-google-spreadsheet/blob/stable/lib/spreadsheet.js#L436-L445
Hi.
I basically added a function that parses both non-200 HTML responses and XML error responses, and extracts some meaningful error strings.
Check it out.
Bye,
MM