diff --git a/resources/templates/wiki.html b/resources/templates/wiki.html index 0a4b1ec..ca87b3d 100644 --- a/resources/templates/wiki.html +++ b/resources/templates/wiki.html @@ -6,7 +6,7 @@ package for vega-embed, so we're currently not installing either it or Vega locally. TODO: fix --> - {% script "vendor/vega-lite/build/vega-lite.js" %} + {% script "/vendor/vega-lite/build/vega-lite.js" %} {% script "vendor/mermaid/dist/mermaid.js" %} diff --git a/src/smeagol/configuration.clj b/src/smeagol/configuration.clj index f4631f9..1f9735e 100644 --- a/src/smeagol/configuration.clj +++ b/src/smeagol/configuration.clj @@ -111,9 +111,19 @@ file is read (if it is specified and present), but that individual values can be overridden by environment variables." (try + (timbre/info (str "Reading configuration from " config-file-path)) (let [file-contents (try (read-string (slurp config-file-path)) - (catch Exception _ {})) + (catch Exception x + (timbre/error + (str + "Failed to read configuration from " + config-file-path + " because: " + (type x) + "; " + (.getMessage x))) + {})) config (merge file-contents (transform-map