Skip to content

Commit

Permalink
Amend log line (flyteorg#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
wild-endeavor authored Sep 17, 2020
1 parent 5056651 commit 1ef091e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,11 @@ func (d dynamicNodeTaskNodeHandler) getLaunchPlanInterfaces(ctx context.Context,
if err != nil {
logger.Debugf(ctx, "Error fetching launch plan definition from admin")
if launchplan.IsNotFound(err) || launchplan.IsUserError(err) {
return nil, errors.Wrapf(utils.ErrorCodeUser, err, "incorrectly specified launchplan")
return nil, errors.Wrapf(utils.ErrorCodeUser, err, "incorrectly specified launchplan %s:%s:%s:%s",
id.Project, id.Domain, id.Name, id.Version)
}
return nil, errors.Wrapf(utils.ErrorCodeSystem, err, "unable to retrieve launchplan information")
return nil, errors.Wrapf(utils.ErrorCodeSystem, err, "unable to retrieve launchplan information %s:%s:%s:%s",
id.Project, id.Domain, id.Name, id.Version)
}
launchPlanInterfaces[idx] = compiler.NewLaunchPlanInterfaceProvider(*lp)
}
Expand Down

0 comments on commit 1ef091e

Please sign in to comment.