Catch uncaught exception
This commit is contained in:
parent
aeb933355d
commit
3b2f39e1e1
|
@ -178,7 +178,7 @@ function broadcast_oauth($notice, $flink) {
|
|||
|
||||
try {
|
||||
$status = $client->statusesUpdate($statustxt);
|
||||
} catch (OAuthClientCurlException $e) {
|
||||
} catch (OAuthClientException $e) {
|
||||
return process_error($e, $flink);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user