Translations:Manual:$wgShowSQLErrors/4/en

You will then only see "A database query error has occurred.