mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
client/tr: add a bit of context to envbuilder errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user