Misc small bug fixes

This commit is contained in:
Brett Williams
2023-06-04 12:06:01 -05:00
parent fae30d3a6a
commit 54ec4e7838
3 changed files with 6 additions and 5 deletions

View File

@@ -40,6 +40,8 @@ class RenderServerProxy:
req = self.request(payload, timeout)
if req.ok and req.status_code == 200:
return req.json()
except json.JSONDecodeError as e:
logger.error(f"JSON decode error: {e}")
except requests.ConnectionError as e:
logger.error(f"Connection error: {e}")
except Exception as e: