From: Zach Copley Date: Wed, 25 Nov 2009 18:04:08 +0000 (+0000) Subject: Catch uncaught exception X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7c1c4e6015ace99caace90e09bec24384e43d88;p=quix0rs-gnu-social.git Catch uncaught exception --- diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index 3c6803e49a..fd51506388 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); }