Browse Source

fix: add detailed error message to stdio handler

Yeuoly 6 months ago
parent
commit
2795254341
1 changed files with 1 additions and 1 deletions
  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()