Skip to content

Commit

Permalink
print course code if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmichels committed Nov 14, 2022
1 parent 09ff8cf commit 03b1ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webadvisor/webadvisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (w WebAdvisorSectionService) searchCourses(ctx context.Context, token strin
}
}

return "", nil, fmt.Errorf("course not found")
return "", nil, fmt.Errorf("%s*%d*%s*%s not found", section.Course.Department, section.Course.Code, section.Term, section.Code)
}

type SectionListResponse struct {
Expand Down

0 comments on commit 03b1ff1

Please sign in to comment.