mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 07:15:24 +01:00
Fixed typo, explicitly stated that number was status code.
This commit is contained in:
parent
c8da0cb8bc
commit
17e89f23c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user