Skip to content

Commit

Permalink
catch all exception if table doesn't exists
Browse files Browse the repository at this point in the history
  • Loading branch information
schiessle committed Oct 20, 2015
1 parent adfb33b commit 168c205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/lock/dblockingprovider.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function cleanEmptyLocks() {
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;
Expand Down

0 comments on commit 168c205

Please sign in to comment.