Skip to content

Commit

Permalink
better error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte committed Sep 3, 2024
1 parent 257986b commit a1cdd8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/local/local/locate.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ func getLatestAirbyteChartUrlFromRepoIndex(repoName, repoUrl string) (string, er

idxPath, err := chartRepo.DownloadIndexFile()
if err != nil {
return "", fmt.Errorf("unable to access repo index: %w", err)
return "", fmt.Errorf("unable to download index file: %w", err)
}

idx, err := repo.LoadIndexFile(idxPath)
if err != nil {
return "", fmt.Errorf("unable to access repo index: %w", err)
return "", fmt.Errorf("unable to load index file (%s): %w", idxPath, err)
}

airbyteEntry, ok := idx.Entries["airbyte"]
Expand Down

0 comments on commit a1cdd8c

Please sign in to comment.