Hmbown/CodeWhale · error · anyhow::Error
Failed to update setting: invalid status indicator '{value}'
Error message
Failed to update setting: invalid status indicator '{value}'. Expected: cw, whale, dots, off. What it means
Settings update validation for the status indicator key: the normalized value is not cw, whale, dots, or off. Governs which idle animation renders; invalid values are rejected at set time rather than falling back silently.
Source
Thrown at crates/tui/src/settings.rs:1397
}
self.composer_vim_mode = normalized;
}
"transcript_spacing" | "spacing" => {
let normalized = normalize_transcript_spacing(value);
if !["compact", "comfortable", "spacious"].contains(&normalized) {
anyhow::bail!(
"Failed to update setting: invalid transcript spacing '{value}'. Expected: compact, comfortable, spacious."
);
}
self.transcript_spacing = normalized.to_string();
}
"launch_screen" | "launch" => {
self.launch_screen = parse_bool(value)?;
}
"status_indicator" | "indicator" => {
let normalized = normalize_status_indicator(value);
if !["cw", "whale", "dots", "off"].contains(&normalized) {
anyhow::bail!(
"Failed to update setting: invalid status indicator '{value}'. Expected: cw, whale, dots, off."
);
}
self.status_indicator = normalized.to_string();
}
"synchronized_output" | "sync_output" | "sync" => {
let normalized = normalize_synchronized_output(value);
if !["auto", "on", "off"].contains(&normalized) {
anyhow::bail!(
"Failed to update setting: invalid synchronized_output '{value}'. Expected: auto, on, off."
);
}
self.synchronized_output = normalized.to_string();
}
"workspace_follow_symlinks" | "follow_symlinks" => {
self.workspace_follow_symlinks = parse_bool(value)?;
}
"default_mode" | "mode" => {View on GitHub (pinned to 0c42157ee5)
Solutions
- Set the status indicator to cw, whale, dots, or off
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/tui/src/settings.rs:1397 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Hmbown/CodeWhale@0c42157ee5 (2026-08-20).
Data as JSON: /api/errors/f2c8c35ab8f17791.
Report an issue: GitHub.