Page MenuHomePhabricator

Improve Error handling on incompatible Database Engine
Closed, ResolvedPublic

Description

Clarity and Precision in Error Handling: Emphasizes the importance of informative error messages and contextually appropriate recovery actions, thereby enhancing system robustness

Instead of generating generic and uninformative exceptions like '#1064 - syntax error, unexpected '-'', ensure this particular error message is clear and specific. For instance, could indicate that 'the InnoDB engine is incompatible with the search character -'

While this ticket is specific to this error, it has room to expand scope to all-round Error refactoring for core.

For more context T349869

Event Timeline

Change 992664 had a related patch set uploaded (by Atieno; author: Atieno):

[mediawiki/core@master] db: Better Error messaging when Title search query not compatible with db Engine

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

Change 992664 merged by jenkins-bot:

[mediawiki/core@master] db: Better Error messaging when Title search query not compatible with db Engine

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