diff options
author | Evan Prodromou <evan@status.net> | 2009-09-29 17:57:31 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-09-29 17:58:13 -0400 |
commit | f46084309b72e647ee6552669a009cf5b3fbff5a (patch) | |
tree | ac3ea66a65c4dc2f8b968cf791c20e9c0c731917 /actions/twitapistatuses.php | |
parent | b0ce2add41877091ba750b36387b45a476127526 (diff) |
Twitter API returns server errors in preferred format
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r-- | actions/twitapistatuses.php | 2 |
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; } |