package executor import "fmt" // brief tries to keep errors short and non-leaky. func brief(err error) string { return fmt.Sprintf("hook failed: %v", err) }