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 }