Skip to content

Commit

Permalink
tls_config.go: don't swallow error
Browse files Browse the repository at this point in the history
Signed-off-by: Leonid Podolny <[email protected]>
  • Loading branch information
Leonid99 committed Aug 4, 2024
1 parent e1326d9 commit 4fe6e21
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 4fe6e21

Please sign in to comment.