alaa_wmde added a comment.

  So the error appears because Database.php in core logs those errors 
internally. There is a away to silence those errors, by passing a flag 
`IDatabase::QUERY_SILENCE_ERRORS` to `IDatabase::query()`. Issue is, 
`IDatabase::insert` does not seem to accept such flags, and it calls 
`IDatabase::query` without passing any flags (defaulting to logging the error 
here).
  
  This means if we want to solve it by silencing those errors (as they are 
expected due to lag, by design) we will have to patch core to allow passing 
flags to `insert()`

TASK DETAIL
  https://phabricator.wikimedia.org/T226639

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: alaa_wmde
Cc: Addshore, darthmon_wmde, WMDE-leszek, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, Aklapper, Ladsgroup, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to