diff --git a/src/main/com/wsscode/pathom3/connect/runner.cljc b/src/main/com/wsscode/pathom3/connect/runner.cljc index 508ce0b9..20e8a753 100644 --- a/src/main/com/wsscode/pathom3/connect/runner.cljc +++ b/src/main/com/wsscode/pathom3/connect/runner.cljc @@ -1077,7 +1077,8 @@ (merge-entity-to-root-data env env' node))) (do (if (not= (count inputs) (count responses)) - (throw (ex-info "Batch results must be a sequence and have the same length as the inputs." {}))) + (throw (ex-info "Batch results must be a sequence and have the same length as the inputs." {:inputs inputs + :op-name batch-op}))) (doseq [[{env' ::env ::pcp/keys [node]