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

Do not only catch Exceptions but any Throwable during rmt share delete #21181

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Jun 2, 2020

When a remote share is deleted, we notify the remote 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.

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>
@ChristophWurst
Copy link
Member Author

/backport to stable19

@ChristophWurst
Copy link
Member Author

/backport to stable18

@ChristophWurst
Copy link
Member Author

/backport to stable17

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 2, 2020
@ChristophWurst
Copy link
Member Author

@ChristophWurst
Copy link
Member Author

Bildschirmfoto von 2020-06-02 10-22-23

is the error for both runs.

@danxuliu
Copy link
Member

danxuliu commented Jun 3, 2020

Are https://drone.nextcloud.com/nextcloud/server/29418/36/3 and https://drone.nextcloud.com/nextcloud/server/29418/37/3 possibly related to this change? I can't tell.

As far as I know they come from #16035.

@ChristophWurst ChristophWurst merged commit 111c8c9 into master Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: federation feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants