开发者

Contiuning Crontab Script on Uncaught OAuthException: (#200) The user hasn't authorized the application to perform this action\

I get the Uncaught OAuthException: (#200) The user hasn't authorized the application t开发者_StackOverflow中文版o perform this action\ error on occassion when a user changes their password, and I want to continue the crontab script, not causing it to end in a fatal error so I can handle the other users....

Is this possible?


So catch the exception! It's only a fatal error if your script doesn't catch it.

If you're not familiar with exceptions in PHP, they're documented at: http://php.net/language.exceptions

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜