From d8ffe438570f095ee21c26114eee0d0b5e488f1e Mon Sep 17 00:00:00 2001 From: MMaker Date: Thu, 27 Feb 2025 13:18:30 -0500 Subject: [PATCH] Clearer log --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index c7bfa21..80ce5e8 100644 --- a/app.py +++ b/app.py @@ -297,7 +297,7 @@ def proxy(video_id): reason_code = params.get('reasonCode', '').upper() if reason_code in ['HIDDEN_VIDEO', 'ADMINISTRATOR_DELETE_VIDEO']: - logger.warning(f"{video_id}: Video is hidden or deleted") + logger.warning(f"{video_id}: Video is hidden or deleted ({reason_code}) - returning 404") return Response("Video not found", status=404) thumbnail_url = (