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 = (