diff --git a/cmd/pm/tasks/codingTask.go b/cmd/pm/tasks/codingTask.go index 592cfed..f01577f 100644 --- a/cmd/pm/tasks/codingTask.go +++ b/cmd/pm/tasks/codingTask.go @@ -137,6 +137,9 @@ func (t *CodingTask) Validate(ctx context.Context) ValidationFeedback { if err != nil { return expect.Fatal("Could not fetch issues") } + if issue == nil { + return expect.Fatal("Issue was deleted or could not be found") + } expect.Equal(issue.Assignee, "Me", "Issue Assignee")