From 0277c0276715d326a4bcf2be37d2aec5982078f7 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 5 May 2022 19:33:40 -0600 Subject: Get rid of loggerFatalError --- srv/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srv/api') diff --git a/srv/api/api.go b/srv/api/api.go index adaf6a1..56f33b2 100644 --- a/srv/api/api.go +++ b/srv/api/api.go @@ -118,7 +118,7 @@ func New(params Params) (API, error) { err := a.srv.Serve(l) if err != nil && !errors.Is(err, http.ErrServerClosed) { ctx := mctx.Annotate(context.Background(), a.params) - params.Logger.Fatal(ctx, fmt.Sprintf("%s: %v", "serving http server", err)) + params.Logger.Fatal(ctx, "serving http server", err) } }() -- cgit v1.2.3