Page MenuHomePhabricator

WikiLove should not silently suppress database errors
Closed, ResolvedPublic


			$dbw->insert( 'wikilove_log', $values, __METHOD__ );
		} catch( DBQueryError $dbqe ) {
			$this->setWarning( 'Action was not logged' );

This was hiding the fact that the wikilove_log table doesn't exist on all wikis.

Event Timeline

Legoktm raised the priority of this task from to High.
Legoktm updated the task description. (Show Details)
Legoktm added projects: WikiLove, Technical-Debt.
Legoktm added a subscriber: Legoktm.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 223590 had a related patch set uploaded (by Legoktm):
API: Log suppressed DBQueryErrors

Change 223590 merged by jenkins-bot:
API: Stop suppressing DBQueryErrors

Legoktm claimed this task.