Skip to content

Commit

Permalink
fix error message for override-file
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Nov 15, 2021
1 parent f83d6dc commit 983d832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ func (d *App) Run(opt RunOption) error {
} else if ovFile := aws.StringValue(opt.TaskOverrideFile); ovFile != "" {
src, err := d.readDefinitionFile(ovFile)
if err != nil {
return errors.Wrap(err, "failed to read overrides-file")
return errors.Wrapf(err, "failed to read overrides-file %s", ovFile)
}
if err := d.unmarshalJSON(src, &ov, ovFile); err != nil {
return errors.Wrap(err, "failed to read overrides-file")
return errors.Wrapf(err, "failed to read overrides-file %s", ovFile)
}
}
d.DebugLog("Overrides:", ov.String())
Expand Down

0 comments on commit 983d832

Please sign in to comment.