summaryrefslogtreecommitdiff
path: root/logging
diff options
context:
space:
mode:
Diffstat (limited to 'logging')
-rw-r--r--logging/middleware.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/logging/middleware.go b/logging/middleware.go
index b19c273..750f987 100644
--- a/logging/middleware.go
+++ b/logging/middleware.go
@@ -18,7 +18,7 @@ func LogRequests(logger Logger) sr.Middleware {
response.Body = loggingBody(logger, request, response, start)
} else {
end := time.Now()
- logger.Log(
+ _ = logger.Log(
"msg", "request",
"ts", end.UTC(),
"dur", end.Sub(start),