mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
fix: catch all exceptions during trashbin cache move
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
4f5b8c1063
commit
e734829154
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ class Trashbin implements IEventListener {
|
|||
}
|
||||
$trashStorage->getUpdater()->update($trashInternalPath, null, $sizeDifference);
|
||||
}
|
||||
} catch (CopyRecursiveException $e) {
|
||||
} catch (\Exception $e) {
|
||||
$moveSuccessful = false;
|
||||
if ($trashStorage->file_exists($trashInternalPath)) {
|
||||
$trashStorage->unlink($trashInternalPath);
|
||||
|
|
|
|||
Loading…
Reference in a new issue