summaryrefslogtreecommitdiff
path: root/srv/api
diff options
context:
space:
mode:
Diffstat (limited to 'srv/api')
-rw-r--r--srv/api/api.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}()