Fixed typo, explicitly stated that number was status code.

This commit is contained in:
Jeppe Klitgaard 2015-04-05 22:14:38 +02:00
parent c8da0cb8bc
commit 17e89f23c8

View File

@ -294,6 +294,7 @@ def _raise_from_request(req):
error=json_resp["error"],
error_message=json_resp["errorMessage"])
except ValueError:
message = "Unknwon requests error: " + str(req.status_code)
message = "Unknown requests error. Status code: {}"
message.format(str(req.status_code))
raise YggdrasilError(message)