summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-20 13:44:00 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-20 13:44:00 +0200
commit1a84c8e9d28ff153996dcb6e97fe4115ca038028 (patch)
tree101517e768909ab00dc6263f187da28d53d56405 /lib
parent64dc222ce58524225f164caf3f48b5c1ef39f025 (diff)
parent168c2055ba393c3b13a0884ca7175a5bf2a47499 (diff)
downloadnextcloud-server-1a84c8e9d28ff153996dcb6e97fe4115ca038028.tar.gz
nextcloud-server-1a84c8e9d28ff153996dcb6e97fe4115ca038028.zip
Merge pull request #19884 from owncloud/locking_exception
catch all exception if table doesn't exists
Diffstat (limited to 'lib')
-rw-r--r--lib/private/lock/dblockingprovider.php2
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;