summaryrefslogtreecommitdiff
path: root/actions/twitapistatuses.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-29 17:57:31 -0400
committerEvan Prodromou <evan@status.net>2009-09-29 17:58:13 -0400
commitf46084309b72e647ee6552669a009cf5b3fbff5a (patch)
treeac3ea66a65c4dc2f8b968cf791c20e9c0c731917 /actions/twitapistatuses.php
parentb0ce2add41877091ba750b36387b45a476127526 (diff)
Twitter API returns server errors in preferred format
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r--actions/twitapistatuses.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 5e2867ea8..41887a68f 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -297,7 +297,7 @@ class TwitapistatusesAction extends TwitterapiAction
$source, 1, $reply_to);
if (is_string($notice)) {
- $this->serverError($notice);
+ $this->serverError($notice, 500, $apidata['content-type']);
return;
}