vimeo-php-lib icon indicating copy to clipboard operation
vimeo-php-lib copied to clipboard

Update vimeo.php

Open reyramos opened this issue 10 years ago • 1 comments

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.

reyramos avatar Jun 20 '14 13:06 reyramos

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

Dashron avatar Jun 20 '14 15:06 Dashron