Skip to content

Commit

Permalink
Update root.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPates committed Nov 7, 2022
1 parent 8b089ac commit 6e27456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func Handler(ctx context.Context, event events.CodePipelineEvent) (string, error
cpl := codepipeline.New(s)
if err != nil {
// notify codepipeline and mark its job execution as Failure
log.Fatalf(errors.Wrap(err, ("Notifying CodePipeline and mark its job execution as Failure").Error())
log.Fatalf(errors.Wrap(err, "Notifying CodePipeline and mark its job execution as Failure").Error())
jobID := event.CodePipelineJob.ID
if len(jobID) == 0 {
panic("CodePipeline Job ID is not set")
Expand Down

0 comments on commit 6e27456

Please sign in to comment.