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> |
пре 4 година | |
---|---|---|
.. | ||
providers.php | Update license headers | пре 4 година |
v1.php | Fix invalid usage of \Exception::getResult | пре 4 година |
v2.php | Update license headers | пре 4 година |