diff --git a/backend/go-app/walkoff.go b/backend/go-app/walkoff.go index b2c48011..d33cee2c 100755 --- a/backend/go-app/walkoff.go +++ b/backend/go-app/walkoff.go @@ -281,7 +281,8 @@ func handleGetWorkflowqueue(resp http.ResponseWriter, request *http.Request) { ctx := shuffle.GetContext(request) // Get all env and check the name? - envs, err := shuffle.GetEnvironments(ctx, environment) + envs, err := shuffle.GetEnvironments(ctx, orgId) + if err != nil || len(envs) == 0 { log.Printf("[WARNING] No env found matching %s - continuing without updating orborus anyway: %s", environment, err) }