Skip to content

fix(main): improve Widevine CDM status logging#42

Merged
flexiondotorg merged 2 commits intomainfrom
loader
Mar 24, 2026
Merged

fix(main): improve Widevine CDM status logging#42
flexiondotorg merged 2 commits intomainfrom
loader

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

@flexiondotorg flexiondotorg commented Mar 24, 2026

Improves logging clarity for Widevine CDM status checks by adding proper null-safety guards and enhanced output formatting.

  • Add nullish guard for Widevine CDM status logging
  • Improve Widevine CDM status logging format

- Extract and destructure CDM component status object
- Format log message to include title, version, and status fields

Signed-off-by: Martin Wimpress <code@wimpress.io>
- Define CdmComponentStatus interface for type safety
- Guard CDM status access with null check before logging
- Fallback to unavailable message if status unavailable

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

Auto-approved: Trivial logging improvement with null-safety for Widevine CDM status; low risk and improves observability.

@flexiondotorg flexiondotorg merged commit f3f8598 into main Mar 24, 2026
11 checks passed
@flexiondotorg flexiondotorg deleted the loader branch March 24, 2026 18:10
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