diff --git a/src/equilibrium/render.clj b/src/equilibrium/render.clj index 52782bd..bef6a7a 100644 --- a/src/equilibrium/render.clj +++ b/src/equilibrium/render.clj @@ -177,7 +177,9 @@ (blog-sites-preview blog-name))) envs-fn (fn [result [match-str env-name]] (when (= nil (System/getenv env-name)) - (throw (ex-info (str "env var not found " env-name)))) + (throw (ex-info (str "env var not found " env-name) + {:env-var env-name + :match-str match-str}))) (string/replace result match-str (System/getenv env-name)))]