Skip to content

Commit

Permalink
client/tr: add a bit of context to envbuilder errors
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Nov 16, 2018
1 parent 2fab212 commit ed90364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/allocrunner/taskrunner/task_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func (tr *TaskRunner) runDriver() error {
// Build hcl context variables
vars, errs, err := tr.envBuilder.Build().AllValues()
if err != nil {
return err
return fmt.Errorf("error building environment variables: %v", err)
}

// Handle per-key errors
Expand Down

0 comments on commit ed90364

Please sign in to comment.