Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable18] Do not only catch Exceptions but any Throwable during rmt share delete #21201

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #21181

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>
@rullzer rullzer merged commit 857b09e into stable18 Jun 4, 2020
@rullzer rullzer deleted the backport/21181/stable18 branch June 4, 2020 08:59
@rullzer rullzer mentioned this pull request Jun 8, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants