sql错误
This commit is contained in:
parent
8165233396
commit
5bbb158a7d
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue