From 760d7ddfd3ec91479cbd10ec639fc3220c1be262 Mon Sep 17 00:00:00 2001 From: u9g Date: Tue, 16 May 2023 23:07:35 -0400 Subject: [PATCH] Debug print query parse error --- trustfall_wasm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustfall_wasm/src/lib.rs b/trustfall_wasm/src/lib.rs index e564949e..d0732cd2 100644 --- a/trustfall_wasm/src/lib.rs +++ b/trustfall_wasm/src/lib.rs @@ -74,7 +74,7 @@ pub fn execute_query( // TODO: add a proper error type let args = from_js_args(args)?; - let query = trustfall_core::frontend::parse(schema, query).map_err(|e| format!("{e}"))?; + let query = trustfall_core::frontend::parse(schema, query).map_err(|e| format!("{e:?}"))?; let wrapped_adapter = Arc::new(AdapterShim::new(adapter));