Skip to content

Conversation

@ChristophWurst
Copy link
Member

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.

Neither did I reproduce this issue locally not did I verify the fix 🤷

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]>
@ChristophWurst ChristophWurst added this to the Nextcloud 20 milestone Jun 16, 2020
@ChristophWurst ChristophWurst self-assigned this Jun 16, 2020
@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 16, 2020
@nickvergessen nickvergessen merged commit 4cff3a3 into master Jun 16, 2020
@nickvergessen nickvergessen deleted the fix/exception-getresult branch June 16, 2020 19:24
@nickvergessen
Copy link
Member

/backport to stable19

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants