diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/lock/dblockingprovider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/lock/dblockingprovider.php b/lib/private/lock/dblockingprovider.php index 1e93a6cec6c..450a0a27ab0 100644 --- a/lib/private/lock/dblockingprovider.php +++ b/lib/private/lock/dblockingprovider.php @@ -187,7 +187,7 @@ class DBLockingProvider extends AbstractLockingProvider { public function __destruct() { try { $this->cleanEmptyLocks(); - } catch (\PDOException $e) { + } catch (\Exception $e) { // If the table is missing, the clean up was successful if ($this->connection->tableExists('file_locks')) { throw $e; |