No stderr capture on toggleProcess / exitNodeProcess (lost diagnostic output) #25
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
toggleProcessandexitNodeProcessonly capture stdout. Stderr is not collected or inspected. Any diagnostic output fromtailscale(e.g., "must be root", authentication prompts, permission errors) is silently discarded. The only user-visible feedback on failure is the generic error toast.Impact
Users have no way to see the real reason a
tailscale up/down/setcommand failed. Debugging is limited to the exit code alone.This issue should probably be looked at more generically as well. In the event of unexpected output or command failure, how does the user know what happened? Some guidance is needed. Either the toasts need to catch everything and detail what the error state is, or there needs to be some kind of log.
If I later have to troubleshoot problems between versions, or when command output changes, I want to know what I'm looking at.
Related: #13 (split error handling on statusCheck), #29 (fragmented error paths). Same pattern: processes only check exitCode, stderr is ignored.
Added stderr: StdioCollector to toggle/exitNode processes. Merged to vibes.
Resolved via merge
daab237. The plugin is confirmed working by @jtmorris. Human code review required before merging to testing.