               overrides))
      (catch Throwable t
        (.println System/err "Failed to initialize logging!")
-       (.printCauseTrace t)
+       (stacktrace/print-cause-trace t)
+       (println "Exiting.")
        (System/exit 1)))))
 
 (def pre-configuration

                                (.println System/err (str "Invalid config file format " config-format))
                                (System/exit 1)))}
                           (catch Throwable t
                             (.println System/err (str "Failed to start Cook" t))
                             (System/exit 1)))]
      (pre-configuration literal-config)
      (.println System/err "Configured logging")

    (let [config-format (try
                          (com.google.common.io.Files/getFileExtension config)
                          (catch Throwable t
                            (.println System/err "Failed to start Cook")
                            (stacktrace/print-cause-trace t)
                            (println "Exiting.")
                            (System/exit 1)))
          literal-config (try
                           {:config
