summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-25 18:04:08 +0000
committerZach Copley <zach@status.net>2009-11-25 18:04:08 +0000
commitf7c1c4e6015ace99caace90e09bec24384e43d88 (patch)
treef2a0267ae8441273e2095b105028394054101d5c
parente6842b718933c5431e8153a2ba59194e52489591 (diff)
Catch uncaught exception
-rw-r--r--plugins/TwitterBridge/twitter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php
index 3c6803e49..fd5150638 100644
--- a/plugins/TwitterBridge/twitter.php
+++ b/plugins/TwitterBridge/twitter.php
@@ -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);
}