mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 07:03:55 +03:00
Use correct defaultValue for stracktrace (#17552)
This commit is contained in:
parent
a161c2ca58
commit
bc6df18fb3
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ func getLogLevel(section *ini.Section, key string, defaultValue log.Level) log.L
|
||||||
}
|
}
|
||||||
|
|
||||||
func getStacktraceLogLevel(section *ini.Section, key string, defaultValue string) string {
|
func getStacktraceLogLevel(section *ini.Section, key string, defaultValue string) string {
|
||||||
value := section.Key(key).MustString("none")
|
value := section.Key(key).MustString(defaultValue)
|
||||||
return log.FromString(value).String()
|
return log.FromString(value).String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue