added provided wssession to error msg

alpha
alex 2022-12-23 12:37:49 +01:00
parent 6e104d46c6
commit eb86af6ed4
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func main() {
q := scylladb.Session.Query(scylladb.WebSocketSessions.Get("id")).BindStruct(foundWsSession)
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)
}