Browse Source

downgrade python preccompile error message to warning

Yeuoly 7 months ago
parent
commit
7b9787b45f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/core/plugin_manager/local_runtime/environment_python.go

+ 1 - 1
internal/core/plugin_manager/local_runtime/environment_python.go

@@ -314,7 +314,7 @@ func (p *LocalPluginRuntime) InitPythonEnvironment() error {
 		// ISSUE: for some weird reasons, plugins may reference to a broken sdk but it works well itself
 		// we need to skip it but log the messages
 		// https://github.com/langgenius/dify/issues/16292
-		log.Error("failed to pre-compile the plugin: %s", compileErrMsg.String())
+		log.Warn("failed to pre-compile the plugin: %s", compileErrMsg.String())
 	}
 
 	log.Info("pre-loaded the plugin %s", p.Config.Identity())