mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-10 10:29:12 +03:00
fix nested errors array in ws-server response log (#3971)
This commit is contained in:
parent
447aac3692
commit
2e8234f1b6
@ -366,7 +366,7 @@ pollQuery metrics batchSize pgExecCtx pgQuery handler =
|
||||
getCohortOperations cohortSnapshotMap actionMeta = \case
|
||||
Left e ->
|
||||
-- TODO: this is internal error
|
||||
let resp = GQExecError [encodeGQErr False e]
|
||||
let resp = GQExecError [encodeGQLErr False e]
|
||||
in [ (resp, Nothing, actionMeta, snapshot)
|
||||
| (_, snapshot) <- Map.toList cohortSnapshotMap
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user