diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-05-09 17:10:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 17:10:39 +0200 |
commit | f20476ab9fee7804a0e0dc882774ee62dd97deed (patch) | |
tree | 7be6edf7a66e34657d0db010bca325a313964da6 | |
parent | b9437260fa22a17753a6b37929411f21c8364104 (diff) | |
parent | fad0c488d3ffc6ae0ae95d41fc63829554a0fc09 (diff) |
Merge pull request #1693 from nextcloud/artonge/fix/dont_silence_error
-rw-r--r-- | lib/DB/Place/PlaceMapper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/DB/Place/PlaceMapper.php b/lib/DB/Place/PlaceMapper.php index 4f926a08..7147dc8d 100644 --- a/lib/DB/Place/PlaceMapper.php +++ b/lib/DB/Place/PlaceMapper.php @@ -178,6 +178,8 @@ class PlaceMapper { } catch (\Exception $ex) { if ($ex->getPrevious() instanceof UniqueConstraintViolationException) { $this->updatePlaceForFile($place, $fileId); + } else { + throw $ex; } } } |