mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-22 14:05:00 -04:00
frontend: Fix plugin manager config loading crash
Current code isn't catching a parse error exception if an invalid config file is loaded by the plugin manager. This change wraps the plugin manager config json parse call with a try/catch, and handles invalid config files by creating a new config file, and logs an error that the existing config file is invalid.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f