Files
romm/backend/tests
Georges-Antoine Assi 28aa53107b fix: surface config.yml parse errors instead of silently using defaults
A YAML syntax error in config.yml caused _safe_load_yaml to discard the
entire config and boot on defaults, with only a log line as signal. Users
mixing the old (scan.export) and new (scan.gamelist.export) gamelist syntax
produced invalid YAML that was silently ignored, so their scan.media list was
dropped and only the default media (box2d, screenshot, manual) were scanned.

Track the parse error and expose it via CONFIG_FILE_PARSE_ERROR on the config
API, and show an error banner in the Library Management settings (v1 and v2)
so users know their config failed to parse and RomM is running on defaults.

Fixes #3708

Generated-By: PostHog Code
Task-Id: 3d4f28a8-5157-4ca4-97a6-f283f5d6329e
2026-07-09 19:37:55 -04:00
..
2026-07-01 08:58:00 -04:00
2026-07-01 10:44:00 -04:00
2026-03-23 16:43:24 -04:00