Page MenuHomePhabricator

exception.message contains useful information not passed through by default
Open, Needs TriagePublic

Description

Noticed when filing T379868: Could not load user for revision {rev_id}...

exception.message was Actor name can not be empty for 0 and 1078 which was more useful than message that was passed through by default - Could not load user for revision {rev_id}

Event Timeline

T389734: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException" errors is another example.

The stack trace from exception.trace is less useful than the one from exception.message...