Showing
1 changed file
with
1 additions
and
1 deletions
@@ -104,7 +104,7 @@ func (server *Server) Start() <-chan struct{} { | @@ -104,7 +104,7 @@ func (server *Server) Start() <-chan struct{} { | ||
104 | server.log.Info("Listening on %s", server.server.Addr) | 104 | server.log.Info("Listening on %s", server.server.Addr) |
105 | if err := server.server.ListenAndServe(); | 105 | if err := server.server.ListenAndServe(); |
106 | err != http.ErrServerClosed { | 106 | err != http.ErrServerClosed { |
107 | - logger.Default.LogError(err, "Stop listening") | 107 | + server.log.LogError(err, "Stop listening") |
108 | } | 108 | } |
109 | close(done) | 109 | close(done) |
110 | }(done) | 110 | }(done) |
Please
register
or
login
to post a comment