Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I handle exceptions? #28

Open
koichirose opened this issue Mar 10, 2014 · 0 comments
Open

How do I handle exceptions? #28

koichirose opened this issue Mar 10, 2014 · 0 comments

Comments

@koichirose
Copy link

If a user denies access to his/her Facebook account, I need a way to display an error and redirect to another page.

I understand that hauth/endpoint executes the following command:

require_once APPPATH.'/third_party/hybridauth/index.php';

I don't want to edit third party files, so how am I supposed to handle that exception?
Here it is:
( ! ) Fatal error: Uncaught exception 'Exception' with message 'Authentification failed! The user denied your request.' in /path/to/application/third_party/hybridauth/Hybrid/Auth.php on line 153

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant