Skip to content

Commit fe954be

Browse files
acmoreclaude
andcommitted
feat: suppress proxy health disconnect sentinel from stderr
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8ba6601 commit fe954be

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cmd/okdev/main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package main
22

33
import (
4+
"errors"
45
"fmt"
56
"os"
67

@@ -9,7 +10,9 @@ import (
910

1011
func main() {
1112
if err := cli.Execute(); err != nil {
12-
fmt.Fprintln(os.Stderr, err)
13+
if !errors.Is(err, cli.ErrProxyHealthDisconnect) {
14+
fmt.Fprintln(os.Stderr, err)
15+
}
1316
os.Exit(1)
1417
}
1518
}

0 commit comments

Comments
 (0)