Hello everyone,
I had a problem that i can`t catch the exception from my code in ownCloud.
here is the code :

try {
            $client->refreshToken('xxxxx');
            var_dump('success');
 } catch (Exception $e) {
            var_dump($e->getMessage());
   }

I try this code outside ownCloud and ig can get the Exception:
Error refreshing the OAuth2 token, message: '{ "error" : "invalid_grant" }'

All this time i check the exception only from ownCloud.log in
settings/admin.
Actually is this some bug from ownCloud or there is an API/class that can
be used to get the Exception??

Thank you,
_______________________________________________
Owncloud mailing list
Owncloud@kde.org
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to