aboutsummaryrefslogtreecommitdiffstats
path: root/flake.lock
diff options
context:
space:
mode:
authorJeremy Cline <jeremy@jcline.org>2024-10-02 20:44:22 -0400
committerGitHub <noreply@github.com>2024-10-02 17:44:22 -0700
commit80e950c648453f2b0fb5987ae01e3f24c7c819d9 (patch)
tree0445b5abb25799ac5be96c1798cb78340e3167d2 /flake.lock
parentfix(tui): don't panic when search result is empty and up is pressed (#2395) (diff)
downloadatuin-80e950c648453f2b0fb5987ae01e3f24c7c819d9.zip
fix(daemon): Add context to error when unable to connect (#2394)
Recently, it seems, the socket location for the daemon moved and this caused me to scratch my head briefly since I saw errors from the client connecting to the daemon, but the daemon was clearly running and the socket seemed to exist. This patch includes more context when the client fails to connect to the daemon. The path is included to help the user understand where the client was looking, and `wrap_err_with()` is used to show the user the cause of the error. This changes the error message from: Error: failed to connect to local atuin daemon. Is it running? to: Error: failed to connect to local atuin daemon at /run/user/1001/atuin.sock. Is it running? Caused by: 0: transport error 1: No such file or directory (os error 2) 2: No such file or directory (os error 2)
Diffstat (limited to 'flake.lock')
0 files changed, 0 insertions, 0 deletions