소스 검색

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()