Skip to content

Commit

Permalink
tls_config.go: don't swallow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid99 committed Aug 4, 2024
1 parent e1326d9 commit a5c01ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/tls_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func ListenAndServe(server *http.Server, flags *FlagConfig, logger log.Logger) e
} else {
listener, err = net.Listen("tcp", address)
if err != nil {
return nil
return err
}
}
defer listener.Close()
Expand Down

0 comments on commit a5c01ed

Please sign in to comment.