summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2015-10-20 11:34:08 +0200
committerBjörn Schießle <bjoern@schiessle.org>2015-10-20 11:34:08 +0200
commit168c2055ba393c3b13a0884ca7175a5bf2a47499 (patch)
tree1e72e2cb004425601017d64f9770379ba8ec54dd /lib
parentadfb33b791ab0f57f0e195362cbe2a9a45de0f78 (diff)
downloadnextcloud-server-168c2055ba393c3b13a0884ca7175a5bf2a47499.tar.gz
nextcloud-server-168c2055ba393c3b13a0884ca7175a5bf2a47499.zip
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;