diff --git a/twitter/api.py b/twitter/api.py index ecba5d92..89055932 100755 --- a/twitter/api.py +++ b/twitter/api.py @@ -5090,7 +5090,7 @@ def _ParseAndCheckTwitter(self, json_data): raise TwitterError({'message': "Exceeded connection limit for user"}) if "Error 401 Unauthorized" in json_data: raise TwitterError({'message': "Unauthorized"}) - raise TwitterError({'message': 'Unknown error': '{0}'.format(json_data)}) + raise TwitterError({'message': 'Unknown error: {0}'.format(json_data)}) self._CheckForTwitterError(data) return data