Catch uncaught exception

This commit is contained in:
Zach Copley 2009-11-25 18:04:08 +00:00
parent e6842b7189
commit f7c1c4e601

View File

@ -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);
}