Skip to content

Commit 52e2237

Browse files
Update main.go
Co-authored-by: Ayman Bagabas <ayman.bagabas@gmail.com>
1 parent 15270ec commit 52e2237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func main() {
7474
)
7575
if err := ctx.Run(); err != nil {
7676
if errors.Is(err, huh.ErrTimeout) {
77-
fmt.Println(err)
77+
fmt.Fprintln(os.Stderr, err)
7878
os.Exit(exit.StatusTimeout)
7979
}
8080
if errors.Is(err, exit.ErrAborted) || errors.Is(err, huh.ErrUserAborted) {

0 commit comments

Comments
 (0)