mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 00:56:47 +00:00
GODT-1482: Comment or mitigate panics, unlock cache when needed.
This commit is contained in:
@ -25,7 +25,10 @@ import (
|
||||
|
||||
func init() { //nolint[gochecknoinits]
|
||||
logrus.SetLevel(logrus.ErrorLevel)
|
||||
if os.Getenv("VERBOSITY") == "trace" {
|
||||
switch os.Getenv("VERBOSITY") {
|
||||
case "trace":
|
||||
logrus.SetLevel(logrus.TraceLevel)
|
||||
case "debug":
|
||||
logrus.SetLevel(logrus.DebugLevel)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user