From 568d0fb48a338170c01d0275bf78cc95ba4cf855 Mon Sep 17 00:00:00 2001 From: Zodial Date: Thu, 26 Oct 2023 17:01:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=AF=E7=94=A8=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- telescope_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telescope_provider.go b/telescope_provider.go index 6596114..0763f25 100644 --- a/telescope_provider.go +++ b/telescope_provider.go @@ -85,7 +85,7 @@ func (t *telescopeHook) Init() { } func (t *telescopeHook) Levels() []logrus.Level { - if !app.IsDebug() || errorRecord { + if !app.IsDebug() { return []logrus.Level{ logrus.PanicLevel, logrus.FatalLevel,