mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix: catch all exceptions during trashbin cache move
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
921ee17026
commit
b76cdd09cc
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,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