Skip to content

Commit

Permalink
Merge branch version/0-42-0-RC1 to adopt changes from PR #2850
Browse files Browse the repository at this point in the history
  • Loading branch information
as-builds committed Nov 3, 2023
2 parents 4ee06e2 + 43b1dc4 commit 3038849
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/platform/runtime/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,14 @@ func (s *Store) updateEnviron(orderedArtifacts []artifact.ArtifactID, artifacts
}
}

if rtGlobal == nil {
// Returning nil will end up causing a nil-pointer-exception panic in setup.Update().
// There is additional logging of the buildplan there that may help diagnose why this is happening.
logging.Error("There were artifacts returned, but none of them ended up being stored/installed.")
logging.Error("Artifacts returned: %v", orderedArtifacts)
logging.Error("Artifacts stored: %v", artifacts)
}

return rtGlobal, nil
}

Expand Down

0 comments on commit 3038849

Please sign in to comment.