miteshsondhi / gulp-cloudflare

MIT License
15 stars 3 forks source link

Show error message when response body contains an error #2

Closed pitou closed 9 years ago

pitou commented 9 years ago

Cloudflare returns status code 200 even if response body contains an error.

For example:

{ result: 'error',
  msg: 'Invalid token or email',
  err_code: 'E_UNAUTH' }
miteshsondhi commented 9 years ago

Thanks for the PR. Merged

pitou commented 9 years ago

:+1: Thank you for this amazing plugin.