diff --git a/CHANGELOG.md b/CHANGELOG.md index cf6ede038..51b2a3c80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### BUG FIXES +* Yorc panics attempting to print an error handling a script execution stdout ([GH-741](https://github.com/ystia/yorc/issues/741)) * Error submitting a SLURM job with no execution option ([GH-739](https://github.com/ystia/yorc/issues/739)) * Workflow with asynchronous action never stops after another step failure ([GH-733](https://github.com/ystia/yorc/issues/733)) diff --git a/prov/ansible/execution.go b/prov/ansible/execution.go index 9081b77d0..399641a04 100644 --- a/prov/ansible/execution.go +++ b/prov/ansible/execution.go @@ -1267,7 +1267,7 @@ func (e *executionCommon) executePlaybook(ctx context.Context, retry bool, err := cmd.Run() if handlerErr := handler.stop(); handlerErr != nil { - log.Printf("Error stopping output handler: %s", err.Error()) + log.Printf("Error stopping output handler: %s", handlerErr.Error()) } if err != nil { return e.checkAnsibleRetriableError(ctx, err)