Before:
failed to connect to local tailscaled (which appears to be running). Got error: Get "http://local-tailscaled.sock/localapi/v0/status": EOF
After:
failed to connect to local tailscaled (which appears to be running as IPNExtension, pid 2118). Got error: Get "http://local-tailscaled.sock/localapi/v0/status": EOF
This was useful just now, as it made it clear that tailscaled I thought
I was connecting to might not in fact be running; there was
a second tailscaled running that made the error message slightly misleading.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
pull/3492/head
Josh Bleecher Snyder3 years agocommitted byJosh Bleecher Snyder
returnfmt.Errorf("failed to connect to local tailscaled process; it doesn't appear to be running")
returnfmt.Errorf("failed to connect to local tailscaled process; it doesn't appear to be running")
}
}
returnfmt.Errorf("failed to connect to local tailscaled (which appears to be running). Got error: %w",origErr)
returnfmt.Errorf("failed to connect to local tailscaled (which appears to be running as %v, pid %v). Got error: %w",foundProc.Executable(),foundProc.Pid(),origErr)