                                           :timestamp (du/date-to-str (t/now))
                                           :user username})))
             (catch Throwable e
-              (log/error "Failed to post test metrics " e test-metrics-url)))))
+              (log/error e "Failed to post test metrics " test-metrics-url)))))
       (log-running-tests)))
 
   (defmethod report :summary [m]


(let [running-tests (atom {})
      start-millis (atom {})
      test-durations (atom {})]
  (defn- log-running-tests []
    (let [tests @running-tests]
      (log/debug (count tests) "running test(s):" tests))

  (let [test-meta (meta testing-var)
        namespace (ns-name (:ns test-meta))
        name (:name test-meta)]
    {:full-name (str namespace "/" name)
     :name name
     :namespace namespace}))

