If something wrong happens at the server-side (API error, for instance), the PHP script goes crazy and abort, but no useful JSON information is sent back to the client.
The server-side should catch all erros instead of just dying, sending useful info back if something wrong just happened.
If something wrong happens at the server-side (API error, for instance), the PHP script goes crazy and abort, but no useful JSON information is sent back to the client.
The server-side should catch all erros instead of just dying, sending useful info back if something wrong just happened.