From 5bbb158a7d42169488c3fde9e7316ede2ba7b955 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Wed, 5 Mar 2025 19:24:23 +0800 Subject: [PATCH] =?UTF-8?q?sql=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/shell.go b/dao/shell.go index 23f962c..39d78ec 100644 --- a/dao/shell.go +++ b/dao/shell.go @@ -42,7 +42,7 @@ func FindShellByID(id, uid uint) []Shell { var res []Shell res = append(res, shell) if result.Error != nil { - log.Fatalf("FindShellByID failed: %v", result.Error) + log.Printf("FindShellByID failed: %v", result.Error) } return res }