- function logError( $status ) {
- wfDebugLog( 'poolcounter', $status->getWikiText() );
+ public function logError( $status ) {
+ $key = $this->poolCounter->getKey();
+
+ wfDebugLog( 'poolcounter', "Pool key '$key': "
+ . $status->getMessage()->inLanguage( 'en' )->useDatabase( false )->text() );