diff options
Diffstat (limited to 'lib/private/Files/Cache/Cache.php')
-rw-r--r-- | lib/private/Files/Cache/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 7b250415511..ce3e38dd46f 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -543,7 +543,7 @@ class Cache implements ICache { try { $query->execute(); - } catch (\Exception $e) { + } catch (\OC\DatabaseException $e) { $this->connection->rollBack(); throw $e; } |