From b76cdd09ccfe02c148fa6e31c26369b18c1976c7 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 1 Apr 2026 19:17:25 +0200 Subject: [PATCH] fix: catch all exceptions during trashbin cache move Signed-off-by: Robin Appelman --- apps/files_trashbin/lib/Trashbin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index 39532a827b6..cf90f85cfa3 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -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);