Catch uncaught exception

This commit is contained in:
Zach Copley 2009-11-25 18:04:08 +00:00
parent aeb933355d
commit 3b2f39e1e1

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