diff --git a/pages/users.go b/pages/users.go index a15fdf6..1e3f2a3 100644 --- a/pages/users.go +++ b/pages/users.go @@ -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, }