9 lines
160 B
Go
9 lines
160 B
Go
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)
|
|
}
|