Skip to content

Commit

Permalink
fix: 启用逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
zodial committed Oct 26, 2023
1 parent 4c0a2ac commit 568d0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telescope_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 568d0fb

Please sign in to comment.