Skip to content
Commit 97f3e9d3 authored by Christoph Wurst's avatar Christoph Wurst Committed by backportbot[bot]
Browse files

Fix invalid usage of \Exception::getResult



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: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent c9f0f5a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment