added provided wssession to error msg
parent
6e104d46c6
commit
eb86af6ed4
2
main.go
2
main.go
|
@ -54,7 +54,7 @@ func main() {
|
||||||
q := scylladb.Session.Query(scylladb.WebSocketSessions.Get("id")).BindStruct(foundWsSession)
|
q := scylladb.Session.Query(scylladb.WebSocketSessions.Get("id")).BindStruct(foundWsSession)
|
||||||
|
|
||||||
if err := q.GetRelease(&foundWsSession); err != nil {
|
if err := q.GetRelease(&foundWsSession); err != nil {
|
||||||
logrus.Errorln("Failed to get ws session, err:", err)
|
logrus.Errorln("Failed to find ws session:", wsSession, "err:", err)
|
||||||
return c.SendStatus(fiber.StatusInternalServerError)
|
return c.SendStatus(fiber.StatusInternalServerError)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue