Skip to content

Commit 4290fc1

Browse files
committed
Update axis_ptz_controller.py
1 parent a0cf959 commit 4290fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axis-ptz-controller/axis_ptz_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def decode_payload(
384384
data_payload = json_payload[data_payload_type]
385385
except (KeyError, TypeError, JSONDecodeError, json.JSONDecodeError) as e:
386386
logging.error(f"Error: {e}")
387-
logging.error(json_payload)
387+
logging.error(payload)
388388
logging.error(
389389
f"Data payload type: {data_payload_type} not found in payload: {payload}"
390390
)

0 commit comments

Comments
 (0)