mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-21 17:25:23 -04:00
[PR #130] [MERGED] fix(plugin-manager): log pre-compilation python errors instead of raises it outside to avoid plugins to broken #326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/130
Author: @Yeuoly
Created: 3/20/2025
Status: ✅ Merged
Merged: 3/20/2025
Merged by: @Yeuoly
Base:
main← Head:fix/graceful-precompile📝 Commits (2)
5faefaffix(plugin-manager): log pre-compilation python errors instead of raises it outside to avoid plugins to broken7b9787bdowngrade python preccompile error message to warning📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
internal/core/plugin_manager/local_runtime/environment_python.go(+6 -2)📄 Description
Updated the error handling in the InitPythonEnvironment function to log pre-compilation errors instead of returning them. This change addresses issues with plugins referencing broken SDKs while still functioning correctly. Additionally, corrected the log message for pre-loading plugins to reflect the accurate state.
Fixes: https://github.com/langgenius/dify/issues/16292
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.