nextcloud/ocs
Christoph Wurst 94a95ffceb
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: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-16 15:37:20 +02:00
..
providers.php Update license headers 2019-12-05 15:38:45 +01:00
v1.php Fix invalid usage of \Exception::getResult 2020-06-16 15:37:20 +02:00
v2.php Update license headers 2019-12-05 15:38:45 +01:00