Hmbown/CodeWhale · error
DSH is not connected; nothing to {}
Error message
DSH is not connected; nothing to {} What it means
Error "DSH is not connected; nothing to {}" thrown in Hmbown/CodeWhale.
Source
Thrown at crates/tui/src/integrations/dsh/mod.rs:481
doc.current = Some(record.clone());
doc.save(&paths.receipt)?;
crate::audit::log_sensitive_event(
&format!("integration.dsh.{}", event.as_str()),
serde_json::json!({
"overlay_path": paths.overlay.display().to_string(),
"overlay_sha256": plan.overlay_sha256,
"identity": identity_summary(&plan.mapped),
"permission_mode": plan.mapped.permission_mode.as_str(),
"skin": plan.skin_path.is_some(),
}),
);
Ok(record)
}
pub(crate) fn set_disabled(paths: &DshPaths, disabled: bool) -> Result<DshConnectionRecord> {
let mut doc = DshReceiptDocument::load(&paths.receipt)?;
let Some(mut record) = doc.current.take() else {
anyhow::bail!(
"DSH is not connected; nothing to {}",
if disabled { "disable" } else { "enable" }
);
};
record.disabled = disabled;
record.updated_at = now_rfc3339();
let event = if disabled {
DshReceiptEvent::Disable
} else {
DshReceiptEvent::Enable
};
doc.push(DshReceiptEntry {
event: event.clone(),
at: record.updated_at.clone(),
codewhale_version: codewhale_version(),
dsh_version: record.dsh_version.clone(),
dsh_home: record.dsh_home.clone(),
overlay_sha256: Some(record.overlay_sha256.clone()),View on GitHub (pinned to 8880682c63)
When it happens
Trigger: Thrown at crates/tui/src/integrations/dsh/mod.rs:481 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Hmbown/CodeWhale@8880682c63 (2026-08-16).
Data as JSON: /api/errors/6d00588e8f889d42.
Report an issue: GitHub.