Open francoisgfx opened 3 years ago
I dont believe URLError have a code attribue. HTTPError does though. HTTPError inherit from URLError. So I have doubt this case can happen here : https://github.com/shotgunsoftware/python-api/blob/master/shotgun_api3/shotgun.py#L2668
https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError
I dont believe URLError have a code attribue. HTTPError does though. HTTPError inherit from URLError. So I have doubt this case can happen here : https://github.com/shotgunsoftware/python-api/blob/master/shotgun_api3/shotgun.py#L2668
https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError