diff options
-rw-r--r-- | utils/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/config.go b/utils/config.go index c97d465f1..9bb294281 100644 --- a/utils/config.go +++ b/utils/config.go @@ -168,11 +168,11 @@ func LoadConfig(fileName string) { config.SetDefaults() if err := config.IsValid(); err != nil { - panic(err.Error()) + panic(T(err.Id)) } if err := ValidateLdapFilter(&config); err != nil { - panic(err.Error()) + panic(T(err.Id)) } configureLog(&config.LogSettings) |