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

--- Comment #4 from Krinkle <[email protected]> ---
(In reply to comment #3)
> If it's a JS resource we could probably even throw in a bit of code to make
> it
> show the error message in the console.

The elaborate message can be found in the /* comment */ when debugging the
request and/or accessing the url directly, and it is also logged to the error
log file.

Logging the console is somewhat redundant and complicated:
* the response should be valid CSS and JS
* mw.log may not be available yet
* console.log is not reliably available at this stage

and re-inventing all this logic in load.php is imho not a good idea.

(In reply to comment #2)
> * Don't give HTML response
> * Module should not stay in state "loading" but do state "error"
> * Client should call "error" callback

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to