mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
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