Browse Source
fix(query-builder): Don't catch UniqueConstraintViolationException
fix(query-builder): Don't catch UniqueConstraintViolationException
UniqueConstraintViolationException is no longer throw directly but instead is now wrapped inside a \OCP\DB\Exception. So check the exception reason. Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>pull/54664/head
committed by
Carl Schwan
8 changed files with 66 additions and 36 deletions
-
7lib/private/Authentication/Token/Manager.php
-
12lib/private/Collaboration/Resources/Manager.php
-
25lib/private/Files/Cache/Cache.php
-
10lib/private/Group/Database.php
-
32lib/private/SystemTag/SystemTagManager.php
-
7lib/private/SystemTag/SystemTagObjectMapper.php
-
2lib/public/IDBConnection.php
-
7tests/lib/Authentication/Token/ManagerTest.php
Write
Preview
Loading…
Cancel
Save
Reference in new issue