skip files in the list if we can't get the correct model path (#100)
This commit is contained in:
parent
280fbe8019
commit
9658a5043b
1 changed files with 2 additions and 2 deletions
|
@ -206,8 +206,8 @@ func list(c *gin.Context) {
|
|||
mp := ParseModelPath(tag)
|
||||
manifest, err := GetManifest(mp)
|
||||
if err != nil {
|
||||
log.Printf("couldn't get manifest: %v", err)
|
||||
return err
|
||||
log.Printf("skipping file: %s", fp)
|
||||
return nil
|
||||
}
|
||||
model := api.ListResponseModel{
|
||||
Name: mp.GetShortTagname(),
|
||||
|
|
Loading…
Reference in a new issue