Fill in error message variables.
@@ -164,7 +164,7 @@ class OAuth1Client(object):
def parse_response_token(self, status_code, text):
if status_code >= 400:
- message = "Token request failed with code {}, response was '{}'."
+ message = "Token request failed with code {}, response was '{}'.".format(status_code, text)
self.handle_error('fetch_token_denied', message)
try:
