Skip to content

fix(source): prevent potential AttributeError accessing stream metadata#12

Merged
pcfreak30 merged 1 commit into
masterfrom
fix-file-source
Dec 1, 2025
Merged

fix(source): prevent potential AttributeError accessing stream metadata#12
pcfreak30 merged 1 commit into
masterfrom
fix-file-source

Conversation

@pcfreak30

Copy link
Copy Markdown
Member
  • Added null checks for self.stream_claim_info.claim before accessing stream property
  • Enhanced safety when retrieving metadata_protobuf by verifying claim exists
  • Prevents crashes when claim data is incomplete or malformed

- Added null checks for `self.stream_claim_info.claim` before accessing `stream` property
- Enhanced safety when retrieving `metadata_protobuf` by verifying `claim` exists
- Prevents crashes when claim data is incomplete or malformed
@pcfreak30 pcfreak30 merged commit e9f0ad1 into master Dec 1, 2025
2 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant