]> source.dussan.org Git - nextcloud-server.git/commit
Do not only catch Exceptions but any Throwable during rmt share delete 21181/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 2 Jun 2020 07:21:09 +0000 (09:21 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 2 Jun 2020 07:21:09 +0000 (09:21 +0200)
commit09a632242d9ee9a3403580a5818fc0e2ce0afa72
treec9be6cadb161523db524c97d7dfc00a9d651cce6
parent796b454021785ac5be8ffb99935e28f1abaaa171
Do not only catch Exceptions but any Throwable during rmt share delete

When a remote share is deleted, we notify the remove instance. This may
trigger various error conditions, which we want to catch in order to
avoid undeletable shares. The try-catch, however, did only capture
exceptions, so things like TypeErrors were not caught and caused the
process to fail hard.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/files_sharing/lib/External/Manager.php