We should log some actually useful information for errors. Here's an example of what we had logged for T130238:
uuid | clientIp | timestamp | userAgent | webHost | wiki | event_code | event_flowId | event_flowPosition | event_message | event_step |
---|---|---|---|---|---|---|---|---|---|---|
(snip) | NULL | 20160316220809 | (snip) | commons.wikimedia.org | commonswiki | api-error-unknown-warning | 1458165933433483 | 8 | Unbekannte Warnung: emptyfile, stashfailed | details |
Would be nice to have the actual problematic response from the API, rather than a copy of the error we've shown the user (possibly translated, too…).