mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-29 17:45:07 +00:00
@@ -102,10 +102,7 @@ class APIError(Error):
|
||||
try:
|
||||
http_body = http_body.decode("utf-8")
|
||||
except:
|
||||
http_body = (
|
||||
"<Could not decode body as utf-8. "
|
||||
"Please report to gym@openai.com>"
|
||||
)
|
||||
http_body = "<Could not decode body as utf-8.>"
|
||||
|
||||
self._message = message
|
||||
self.http_body = http_body
|
||||
|
Reference in New Issue
Block a user