mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	Output the build error in plugin
This commit is contained in:
		| @@ -121,5 +121,7 @@ func (p *plugin) Build(path string, c *Config) error { | ||||
| 		return fmt.Errorf("Failed to create dir %s: %v", filepath.Dir(path), err) | ||||
| 	} | ||||
| 	cmd := exec.Command("go", "build", "-buildmode=plugin", "-o", path+".so", goFile) | ||||
| 	cmd.Stdout = os.Stdout | ||||
| 	cmd.Stderr = os.Stderr | ||||
| 	return cmd.Run() | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user