Add the LockManager error to LocalFileLockError exceptions
Change-Id: Ibfa7312993806554f7939b4f5692e30714f71304
This commit is contained in:
parent
8b9584646b
commit
e724d14495
1 changed files with 3 additions and 1 deletions
|
|
@ -1928,7 +1928,9 @@ class LocalFile extends File {
|
|||
$dbw->rollback( __METHOD__ );
|
||||
}
|
||||
throw new LocalFileLockError(
|
||||
"Could not acquire lock for '{$this->getName()}' ($waited sec)." );
|
||||
"Could not acquire lock for '{$this->getName()} ($waited sec): " .
|
||||
$status->getWikiText( false, false, 'en' )
|
||||
);
|
||||
}
|
||||
// Release the lock *after* commit to avoid row-level contention
|
||||
$this->locked++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue