Skip to content

Commit

Permalink
additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Oct 25, 2023
1 parent f6523be commit 2461a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gallery/gallery.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func getGalleryModels(gallery Gallery, basePath string) ([]*GalleryModel, error)
})
if err != nil {
if yamlErr, ok := err.(*yaml.TypeError); ok {
log.Debug().Msgf("YAML errors: %s", strings.Join(yamlErr.Errors, "\n"))
log.Debug().Msgf("YAML errors: %s\n\nwreckage of models: %+v", strings.Join(yamlErr.Errors, "\n"), models)
}
return models, err
}
Expand Down

0 comments on commit 2461a3c

Please sign in to comment.