Closed topherbuckley closed 1 year ago
I still feel like this is too brittle. Can we close this PR for now since I'm working on a permanent fix for this?
Yep, I can always reopen if I have an idea to make it more robust. Otherwise look forward to your permanent fix @macanudo527.
As per Issue 169
Rather than hang, this provides the following stack trace and intentionally errors out:
I have a couple of follow up question on this though.
if "451" in str(exc_na)
but I didn't like the idea of this number being possible to show up in some hash or other string of numbers. Is there any way to get the actual JSON from ccxt such that I can identify the HTTP error code as a separate entry as opposed to the compiled string fromErrorClass(self.id + ' ' + method + ' ' + url + ' ' + codeAsString + ' ' + reason + ' ' + body)
?