From 8dd523e2814279f56aacfb889e6cac890b446954f5f018efe80c10a9fda72410 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 16 Aug 2024 14:23:04 +0200 Subject: [PATCH] . --- obs-staging-bot/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obs-staging-bot/main.go b/obs-staging-bot/main.go index df3f94f..96d5083 100644 --- a/obs-staging-bot/main.go +++ b/obs-staging-bot/main.go @@ -103,6 +103,7 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu repoRes := &project.Result[i] repoResStatus, ok := common.ObsRepoStatusDetails[repoRes.Code] if !ok { + h.LogError("cannot find code: %s", repoRes.Code) return BuildStatusSummaryUnknown } if !repoResStatus.Finished { @@ -149,6 +150,7 @@ func processBuildStatus(h *common.RequestHandler, project, refProject *common.Bu } if j >= len(refProject.Result) { + h.LogError("Cannot find results... %#v \n %#v\n", project.Result[i], refProject.Result) return BuildStatusSummaryUnknown } }