From 153f7e6053220e42e56a45d30228503052a2ccf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Sat, 25 Oct 2025 14:48:01 +0300 Subject: [PATCH] add debug err log --- web/controller/inbound.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/controller/inbound.go b/web/controller/inbound.go index e3477936..e0ef4433 100644 --- a/web/controller/inbound.go +++ b/web/controller/inbound.go @@ -123,6 +123,9 @@ func (a *InboundController) addInbound(c *gin.Context) { inbound := &model.Inbound{} err := c.ShouldBind(inbound) + defer func() { + logger.Debugf("debug err: %v", err) + }() if err != nil { jsonMsg(c, I18nWeb(c, "somethingWentWrong"), err) return