Skip to content

Conversation

@GalvinPython
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings September 15, 2025 08:55
@GalvinPython GalvinPython added the bug Something isn't working label Sep 15, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a crash in fetchLatestUploads by adding null safety checks for channel IDs that aren't found in the channelDict, and improves logging for debugging YouTube and Twitch update intervals.

  • Add null safety check for missing channel IDs in channelDict to prevent crashes
  • Move and restructure logging statements for better code organization
  • Add interval configuration logging in the ready event handler

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/utils/youtube/fetchLatestUploads.ts Adds null check for channelDict lookup and reorganizes logging statements
src/events/ready.ts Adds logging for YouTube and Twitch update interval configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@GalvinPython GalvinPython merged commit a0cfb42 into main Sep 15, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this to Done in Feedr Sep 15, 2025
@GalvinPython GalvinPython deleted the fix/null-channels branch September 15, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working component: bot

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants