Topic: Plupload does not pick up server side error messages
Having problems with the jsonrpc response messages, they don't seem to get picked up and displayed.
My upload handler can throw all kinds of exceptions and I'd like the exception message to be displayed to the user, but the only message that gets displayed is the generic "IO Error".
Is this a no go?
The json I'm returning is this, for example:
{"jsonrpc" : "2.0", "error" : {"code": 100, "message": "Exception message text"}, "id" : "id"}
I'm also returning an HTTP status code of 500. Otherwise, Plupload seems to think that everything went well.
Any ideas?