more detailed error
This commit is contained in:
parent
92b6cf890b
commit
435a9b2ecf
@ -93,7 +93,7 @@ func userdata(username, usersonline, ops string) Userinfo {
|
||||
}
|
||||
viper.SetConfigFile(filename)
|
||||
if err := viper.ReadInConfig(); err != nil {
|
||||
log.Error("Couldn't read a users meta-info.toml file.", err, username)
|
||||
log.Error("message", "Couldn't read a users meta-info.toml file.", "error", err, "user", username)
|
||||
user := Userinfo{
|
||||
Name: username,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user