mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Use correct defaultValue for stracktrace (#17552)
This commit is contained in:
		@@ -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 {
 | 
			
		||||
	value := section.Key(key).MustString("none")
 | 
			
		||||
	value := section.Key(key).MustString(defaultValue)
 | 
			
		||||
	return log.FromString(value).String()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user