Skip to content

Commit fe293ae

Browse files
author
Gusted
committed
backport(1.15): Use correct defaultValue for stracktrace
- Backporting go-gitea#17552
1 parent f25f7c5 commit fe293ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func getLogLevel(section *ini.Section, key string, defaultValue log.Level) log.L
121121
}
122122

123123
func getStacktraceLogLevel(section *ini.Section, key string, defaultValue string) string {
124-
value := section.Key(key).MustString("none")
124+
value := section.Key(key).MustString(defaultValue)
125125
return log.FromString(value).String()
126126
}
127127

0 commit comments

Comments
 (0)