{"record":{"id":"7e90d42ba9b523d5","repo":"zellij-org/zellij","slug":"can-t-find-config-options","errorCode":null,"errorMessage":"Can't find config options","messagePattern":"Can't find config options","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/main.rs","lineNumber":318,"sourceCode":"                web_opts.ip,\n                web_opts.port,\n                web_opts.cert.clone(),\n                web_opts.key.clone(),\n                web_opts.server_startup_timeout,\n            );\n        } else if web_opts.stop {\n            match commands::stop_web_server() {\n                Ok(()) => {\n                    println!(\"Stopped web server.\");\n                },\n                Err(e) => {\n                    eprintln!(\"Failed to stop web server: {}\", e);\n                    std::process::exit(2)\n                },\n            }\n        } else if web_opts.status {\n            let mut config_options = commands::get_config_options_from_cli_args(&opts)\n                .expect(\"Can't find config options\");\n            if let Some(ip) = web_opts.ip {\n                config_options.web_server_ip = Some(ip);\n            }\n            if let Some(port) = web_opts.port {\n                config_options.web_server_port = Some(port);\n            }\n            let web_server_base_url = web_server_base_url_from_config(config_options);\n            match commands::web_server_status(&web_server_base_url, web_opts.timeout) {\n                Ok(version) => {\n                    let version = version.trim();\n                    println!(\n                        \"Web server online with version: {}. Checked: {}\",\n                        version, web_server_base_url\n                    );\n                    if version != VERSION {\n                        println!(\"\");\n                        println!(\n                            \"Note: this version differs from the current Zellij version: {}.\",","sourceCodeStart":300,"sourceCodeEnd":336,"githubUrl":"https://github.com/zellij-org/zellij/blob/5cb5df5cce4e16c5d1c57c7c062e4a90a7823c41/src/main.rs#L300-L336","documentation":"Error \"Can't find config options\" thrown in zellij-org/zellij.","triggerScenarios":"Occurs at src/main.rs:318 when the operation fails: \"Can't find config options\". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.","commonSituations":"Malformed KDL config or incompatible options after an upgrade.","solutions":["Fix the configuration file syntax (run `zellij setup --check` to locate the error).","Regenerate a default config with `zellij setup --dump-config` and merge changes."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5cb5df5cce4e16c5d1c57c7c062e4a90a7823c41","analyzedAt":"2026-08-19T07:42:58.758Z","contentChangedAt":"2026-08-19T07:42:58.758Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}