diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-02 09:21:09 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-02 09:21:09 +0200 |
commit | 09a632242d9ee9a3403580a5818fc0e2ce0afa72 (patch) | |
tree | c9be6cadb161523db524c97d7dfc00a9d651cce6 /cron.php | |
parent | 796b454021785ac5be8ffb99935e28f1abaaa171 (diff) | |
download | nextcloud-server-09a632242d9ee9a3403580a5818fc0e2ce0afa72.tar.gz nextcloud-server-09a632242d9ee9a3403580a5818fc0e2ce0afa72.zip |
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>
Diffstat (limited to 'cron.php')
0 files changed, 0 insertions, 0 deletions