diff --git a/detector.go b/detector.go index 84cc651..db0d6e1 100644 --- a/detector.go +++ b/detector.go @@ -291,7 +291,7 @@ func IsConsecutiveFailJob(job *gojenkins.Job) (bool, error) { if err != nil { logger.Println("got err GetBuild") logger.Println(err) - logger.Println(errors.WithStack(err)) + logger.Println(build, job.GetName(), buildIds) return false, err }