"vscode:/vscode.git/clone" did not exist on "0859d5094227a0753ca76970abdc7686ac9be489"
Unverified Commit 9658a504 authored by Patrick Devine's avatar Patrick Devine Committed by GitHub
Browse files

skip files in the list if we can't get the correct model path (#100)

parent 280fbe80
......@@ -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(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment