bug(theme): broken theme manifests are silently skipped — no log warning #63
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
In
theme/registry.rs, when a theme manifest fails to parse (malformed JSON, missing required fields, bad image path), the entry is silently skipped. There is no log warning, so during development or after an asset update it is impossible to tell why a theme is not appearing in the theme picker.Affected file
solitaire_engine/src/theme/registry.rs(or equivalent theme discovery path)Fix
Log a
warn!()for each theme that fails to load, including the theme ID and the error reason:This is debug-level visibility with zero runtime cost.