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

Update vimeo.php #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update vimeo.php #11

wants to merge 1 commit into from

Conversation

reyramos
Copy link

I added the extra expl, to VimeoAPIException, the standard message is to vauge to know what is the real issue unless digging into the code.
Ex:
With just the VimeAPIExpection -> results are
Fatal error: Uncaught exception 'VimeoAPIException' with message 'Invalid / expired token
VimeoAPIException: Invalid / expired token in

--the two messages are the same with no real explanation

If you add the new Exception(expl), the results are:
Fatal error: Uncaught exception 'Exception' with message 'The oauth_timestamp passed is either too far in the past or in the future.
VimeoAPIException: Invalid / expired token

--this new message at least narrows the issue with the server internal clock being incorrect.

I added the extra expl, to VimeoAPIException, the standard message is to vauge to know what is the real issue unless digging into the code.
Ex:
With just the VimeAPIExpection -> results are  
Fatal error: Uncaught exception 'VimeoAPIException' with message 'Invalid / expired token 
VimeoAPIException: Invalid / expired token in

--the two messages are the same with no real explanation

If you add the new Exception(expl), the results are:
Fatal error: Uncaught exception 'Exception' with message 'The oauth_timestamp passed is either too far in the past or in the future.
VimeoAPIException: Invalid / expired token 

--this new message at least narrows the issue with the server internal clock being incorrect.
@Dashron
Copy link
Contributor

Dashron commented Jun 20, 2014

Looks great, our CLA system should be live soon and I'll update you when we can merge it all in!

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