Add camera name to recordings log (#12480)

* Add camera name to recordings log

* Formatting
This commit is contained in:
Nicolas Mowen 2024-07-16 10:56:09 -06:00 committed by GitHub
parent e9da453190
commit 30f0f73a4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -554,7 +554,9 @@ def vod_ts(camera_name, start_ts, end_ts):
logger.warning(f"Recording clip is missing or empty: {recording.path}") logger.warning(f"Recording clip is missing or empty: {recording.path}")
if not clips: if not clips:
logger.error("No recordings found for the requested time range") logger.error(
f"No recordings found for {camera_name} during the requested time range"
)
return make_response( return make_response(
jsonify( jsonify(
{ {