Skip to content

Commit

Permalink
chore: catch err
Browse files Browse the repository at this point in the history
  • Loading branch information
huanjani committed Jun 9, 2023
1 parent 40dceaa commit 1b21114
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/pkg/describe/static_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ func (d *StaticSiteDescriber) Describe() (HumanJSONStringer, error) {
var objects []*S3ObjectTree
for _, env := range environments {
bucketDescriber, bucketNameDescriber, err := d.initS3Client(env)
if err != nil {
return nil, err
}
uri, err := d.URI(env)
if err != nil {
return nil, fmt.Errorf("retrieve service URI: %w", err)
Expand Down

0 comments on commit 1b21114

Please sign in to comment.