From 6749559a2215e3871af32560c0e41d3b02a21ba9 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Thu, 14 Jul 2022 11:52:35 +0300 Subject: [PATCH] log the response error not the handler one --- apis/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/base.go b/apis/base.go index 32dc7f3b..35043dbe 100644 --- a/apis/base.go +++ b/apis/base.go @@ -68,7 +68,7 @@ func InitApi(app core.App) (*echo.Echo, error) { // truly rare case; eg. client already disconnected if cErr != nil && app.IsDebug() { - log.Println(err) + log.Println(cErr) } }