From 203fdbc4b8b69f1ed291e41c4f535913f7b73acc Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Mon, 31 Jul 2023 15:26:18 -0700 Subject: [PATCH] check err --- server/images.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/images.go b/server/images.go index 19ce467e..53ffb9a8 100644 --- a/server/images.go +++ b/server/images.go @@ -590,6 +590,9 @@ func DeleteModel(name string) error { } return nil }) + if err != nil { + return err + } if err != nil { return err