From 4337b2837d15845cfa3c217de93b153bb89f2e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Mon, 15 Jan 2024 13:41:35 +0100 Subject: [PATCH] -vet --- data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.go b/data.go index 336069d..c2e5065 100644 --- a/data.go +++ b/data.go @@ -98,7 +98,7 @@ func (d *Data) getProject() { e = json.NewDecoder(r.Body).Decode(&p) if len(p.Projects) < 1 { - e = fmt.Errorf("no project found with id", d.projectId) + e = fmt.Errorf("no project found with id %d", d.projectId) } else { // filter out obsolete versions project = p.Projects[0]