CakePHP-Facebook-Plugin icon indicating copy to clipboard operation
CakePHP-Facebook-Plugin copied to clipboard

remove try-catch from FB proxy

Open guitcastro opened this issue 13 years ago • 0 comments

I think you should remove all try-catch from FB.php and FacebookApi.php, and give the developers the possibilite to handle exceptions.It's more easily to debug erros in graph-api or avoid black-holes. For example if you have an error you will get from exception :

                [message] => (#352) Video file format is not supported
                [type] => OAuthException
                [code] => 352

using exception it's easy to handle this , and print an error msg for the final user.

without exception i only have a boolean "false" =/

It's just a suggestion =)

guitcastro avatar Jul 06 '12 02:07 guitcastro