(20260217) Ready to test on production now
This commit is contained in:
@@ -570,10 +570,12 @@ class AsyncTheCAOffice:
|
||||
if response.status_code not in [200]:
|
||||
try:
|
||||
response_json = response.json()
|
||||
print("TCAOFF Attendance-Mark:", json.to_string(response_json))
|
||||
# print("TCAOFF Attendance-Mark:", json.to_string(response_json))
|
||||
self._printer("TCAOFF Attendance-Mark", response_json)
|
||||
except Exception as e:
|
||||
print("TCAOFF Attendance-Mark:", e)
|
||||
print("TCAOFF Attendance-Mark:", response.content)
|
||||
# print("TCAOFF Attendance-Mark:", e)
|
||||
# print("TCAOFF Attendance-Mark:", response.content)
|
||||
self._printer("TCAOFF Attendance-Mark", e, response.content)
|
||||
print("Payload:", json.to_string(json_payload))
|
||||
|
||||
# If the call succeeded:
|
||||
|
||||
Reference in New Issue
Block a user