Catch uncaught exception
This commit is contained in:
parent
e6842b7189
commit
f7c1c4e601
|
@ -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