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 } }