This patch improves the JSON server error handling.

1) the combination of #error and the success function was backwards
2) added the server_error hook to allow for better error reporting back to the client
3) more error checking in server handler

CommentFileSizeAuthor
server_error.patch2.13 KBdldege

Comments

dmitrig01’s picture

Status: Needs review » Fixed

Fixed in commit 87459.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.