Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/youtube_extension/backend/real_api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ async def batch_process_videos(request: BatchProcessingRequest):
return result

except HTTPException:
# Preserve explicit 4xx responses (e.g. the 400 batch-size guard above).
raise
except Exception as e:
logger.error(f"Unhandled error in batch_process_videos: {e}", exc_info=True)
Expand Down Expand Up @@ -431,6 +432,7 @@ async def search_youtube_videos(
}

except HTTPException:
# Preserve explicit 4xx responses (e.g. the 400 max-results guard above).
raise
except Exception as e:
logger.error(f"Unhandled error in search_youtube_videos: {e}", exc_info=True)
Expand Down
Loading