HomePhabricator

resourceloader: Include exception log id in error message

Authored by Krinkle on Sep 23 2015, 4:36 PM.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

resourceloader: Include exception log id in error message

This changes the current:

Internal error.

To be:

[89466ede] 2015-09-23 16:40: Fatal exception of type Less_Exception

This matches how exceptions are reported on HTML pages by MediaWiki
(via MWException::getHTML in OutputPage).

The IDs are okay to be public and exposed on HTML pages even when
$wgShowExceptionDetails is disabled.

Follows-up d478ffde100. Ref T110659.

Change-Id: I501eaa629161184ba89d44e53cdac20b39cb0903