Thread:Project:Support desk/Uncommitted DB writes from actions such as Undelete, Protect, Move/reply (3)

Set also $wgShowExceptionDetails = true;