浏览代码

fix: add detailed error message to stdio handler

Yeuoly 6 月之前
父节点
当前提交
2795254341
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/core/plugin_manager/local_runtime/run.go

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

@@ -158,7 +158,7 @@ func (r *LocalPluginRuntime) StartPlugin() error {
 	// wait for plugin to exit
 	err = stdio.Wait()
 	if err != nil {
-		return err
+		return errors.Join(err, stdio.Error())
 	}
 	wg.Wait()