From d0709719f3791f7c89971791c00129c4e0262aea Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Tue, 18 Dec 2018 22:16:27 +0100 Subject: [PATCH] syntax fuckup --- src/equilibrium/render.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)))]