Bug background capture (#1957)
Bug background capture (#1957)

* Capture query.text, not str(query), since str(query) give the AST.

* Only capture primitive safe vars

Co-authored-by: invisig0th <93de0c7d579384feb3561aa504acd8f23f388040@vertex.link>
vertexproject/synapse,vertexproject/synapse,vertexproject/synapse