summaryrefslogtreecommitdiff
path: root/actions
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:57:31 -0400
commit5309910b9b4dd2533ff5b2190f90bf415fd20113 (patch)
treec10fbf8b20f635e0f0b26dc8f2f765fd9c1efe49 /actions
parent5252c438040f071e0c61a9c93152dcf1aa382504 (diff)
Twitter API returns server errors in preferred format
Diffstat (limited to 'actions')
-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;
}