sql错误

This commit is contained in:
junleea 2025-03-05 19:24:23 +08:00
parent 8165233396
commit 5bbb158a7d
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func FindShellByID(id, uid uint) []Shell {
var res []Shell var res []Shell
res = append(res, shell) res = append(res, shell)
if result.Error != nil { if result.Error != nil {
log.Fatalf("FindShellByID failed: %v", result.Error) log.Printf("FindShellByID failed: %v", result.Error)
} }
return res return res
} }