You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifyaml.Unmarshal(pluginConf.Config, c) !=nil||instance.ValidateAndSetConfig(c) !=nil {
375
375
pluginConf.Enabled=false
376
376
377
-
log.Printf("Plugin %s for user %d failed to initialize because it rejected the current config. It might be outdated. A default config is used and the user would need to enable it again.", pluginConf.ModulePath, pluginConf.UserID)
377
+
log.Warn().
378
+
Str("module_path", pluginConf.ModulePath).
379
+
Uint("user_id", pluginConf.UserID).
380
+
Msg("Plugin failed to initialize because it rejected the current config. It might be outdated. A default config is used and the user would need to enable it again.")
378
381
newConf:=bytes.NewBufferString("# Plugin initialization failed because it rejected the current config. It might be outdated.\r\n# A default plugin configuration is used:\r\n")
0 commit comments