Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #21432

Only OCS exceptions have a getResult method. Any other exception will
cause another error due to this invalid method call.

This splits the catch into a specific one for OCS and then a generic one
for anything else that can't be handled.

Signed-off-by: Christoph Wurst <[email protected]>
@rullzer rullzer merged commit a436df0 into stable19 Jun 17, 2020
@rullzer rullzer deleted the backport/21432/stable19 branch June 17, 2020 08:30
@rullzer rullzer mentioned this pull request Jul 6, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants