Skip to content

Commit

Permalink
add log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
alishakawaguchi committed Oct 16, 2024
1 parent 3ab187d commit b7defcc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ func (s *Service) GetConnectionSchema(
return nil, err
}
if out == nil {
logger.Info(fmt.Sprintf("AWS S3 table folder missing data folder: %s, continuing..", tableFolder))
continue
}
item := out.Contents[0]
Expand All @@ -638,6 +639,7 @@ func (s *Service) GetConnectionSchema(
return nil, err
}
if result.ContentLength == nil || *result.ContentLength == 0 {
logger.Info(fmt.Sprintf("empty AWS S3 data folder for table: %s, continuing...", tableFolder))
continue
}

Expand Down

0 comments on commit b7defcc

Please sign in to comment.