diff --git a/core/src/dbs/executor.rs b/core/src/dbs/executor.rs index f1a9fcbb..8ac4cf31 100644 --- a/core/src/dbs/executor.rs +++ b/core/src/dbs/executor.rs @@ -426,11 +426,9 @@ impl<'a> Executor<'a> { let res = Response { // Get the statement end time time: now.elapsed(), - // TODO: Replace with `inspect_err` once stable. - result: res.map_err(|e| { + result: res.inspect_err(|_| { // Mark the error. self.err = true; - e }), query_type: match (is_stm_live, is_stm_kill) { (true, _) => QueryType::Live,