Last modified: 2012-08-14 22:16:38 UTC
TemplateRequest misses proper error handling (returns a string error message only). It would be great if it could pass an error object with status information (404/500/XXX depending on the nature of the error) as the first parameter to its 'src' callbacks. This could then be used to set the proper error codes in the Parsoid web service, so that the VE can display more accurate error info.
Fixed in https://gerrit.wikimedia.org/r/#/c/18699/ and https://gerrit.wikimedia.org/r/#/c/19405/.