ソースを参照

fix: add detailed error message to stdio handler

Yeuoly 9 ヶ月 前
コミット
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()