From 03b1ff146745862b2d9c116735f1b1f1d7452268 Mon Sep 17 00:00:00 2001 From: Jacob Michels Date: Mon, 14 Nov 2022 10:30:33 -0500 Subject: [PATCH] print course code if not found --- webadvisor/webadvisor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webadvisor/webadvisor.go b/webadvisor/webadvisor.go index 1c8ef4a..01a3f22 100644 --- a/webadvisor/webadvisor.go +++ b/webadvisor/webadvisor.go @@ -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 {