return if the sessionId cannot be retrieved from the request

This commit is contained in:
Alfred Kamanda 2024-09-18 14:52:56 +03:00
parent 4098ac8a19
commit a9a429824c
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -32,6 +32,7 @@ func (ash *ATSessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
if err != nil { if err != nil {
logg.ErrorCtxf(rqs.Ctx, "", "header processing error", err) logg.ErrorCtxf(rqs.Ctx, "", "header processing error", err)
ash.writeError(w, 400, err) ash.writeError(w, 400, err)
return
} }
rqs.Config = cfg rqs.Config = cfg
rqs.Input, err = rp.GetInput(req) rqs.Input, err = rp.GetInput(req)