fix(client): name the refresh lock in its wait error

LockError::Task is only constructed while waiting for the refresh
sidecar lock, so "auth store lock" pointed at the wrong file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-08-01 10:17:00 -04:00
parent 58c8df593a
commit 5f72bfe3ac
No known key found for this signature in database

View file

@ -109,7 +109,7 @@ pub enum LockError {
source: std::io::Error,
},
#[cfg(unix)]
#[error("failed to wait for auth store lock at {path}: {source}")]
#[error("failed to wait for auth store refresh lock at {path}: {source}")]
Task { path: PathBuf, source: JoinError },
}