https://bugzilla.wikimedia.org/show_bug.cgi?id=39310

       Web browser: ---
             Bug #: 39310
           Summary: Parsoid: Report template source retrieval errors
           Product: Parsoid
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Web API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to