diff --git a/ui/server.py b/ui/server.py index 34302cd1..6125affe 100644 --- a/ui/server.py +++ b/ui/server.py @@ -223,7 +223,7 @@ def setConfig(config): config_json_path = os.path.join(CONFIG_DIR, 'config.json') with open(config_json_path, 'w', encoding='utf-8') as f: return json.dump(config, f) - except: + except Exception as e: print(str(e)) print(traceback.format_exc())