Page MenuHomePhabricator

Log unexpected errors for developers
Closed, ResolvedPublic

Description

At the moment unexpected exceptions occurring in the REST route handlers get caught by UnexpectedErrorHandler and do not get logged anywhere, which makes it hard to figure out the cause of an error during development.

This ticket only covers the requirements of the developers of the REST API. A story ticket with the requirements of other teams (Wikidata, Wikibase Cloud, ...) running a Wikibase with the REST API will follow.

Event Timeline

Change 786993 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Log unexpected errors

https://gerrit.wikimedia.org/r/786993

Change 786993 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Log unexpected errors

https://gerrit.wikimedia.org/r/786993