examples/http: Fix logging

This commit is contained in:
Sasha Koshka 2025-01-30 19:37:49 -05:00
parent 772e9ca290
commit 0077a5d115

View File

@ -42,7 +42,7 @@ func (this *httpServer) Init(ctx context.Context) error {
}
func (this *httpServer) Run() error {
log.Printf("[http] listening on %s", this.server.Addr)
log.Printf("(i) [http-server] listening on %s", this.server.Addr)
err := this.server.ListenAndServe()
if errors.Is(err, http.ErrServerClosed) { return nil }
return err