Skip to content

Commit

Permalink
we've gone full circle
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman committed Nov 17, 2023
1 parent 42d1387 commit 024832a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Input(listener net.Listener) (*model.Input, error) {

// printing so the user doesn't think the cli is hanging
log.Println("waiting for input on", listener.Addr())
if err := srv.Serve(listener); err != nil && !errors.Is(err, net.ErrClosed) {
if err := srv.Serve(listener); err != nil && !errors.Is(err, http.ErrServerClosed) {
return nil, err
}
return handler.data, nil
Expand Down

0 comments on commit 024832a

Please sign in to comment.