Skip to content

Commit 566a310

Browse files
authored
chore: Don't swallow logs (#14)
1 parent f0c5a15 commit 566a310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/loader/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func LoadMetadataForDocs() ([]MetadataForDocs, error) {
2828
// Get changed MDX files (for PR context)
2929
changedFilepaths, err := github.GetChangedMDXFiles()
3030
if err != nil {
31-
return nil, fmt.Errorf("could not get changed files")
31+
return nil, fmt.Errorf("could not get changed files -- %s", err)
3232
} else if len(changedFilepaths) > 0 {
3333
var metadataForDocs []MetadataForDocs
3434
for _, filepath := range changedFilepaths {

0 commit comments

Comments
 (0)