                           :env        '~(str &env)
                           :remove     "remove cache"}
                          be.dsquare.logging/*logPrinter*))
-            (catch Exception e# _))
+            (catch Exception e#))
        ret#)))
 
 (defmacro log-error [exception-type [function & args :as all] & functions]

                   :errorMessage  (.getMessage e#)
                   :stackTrace    (.toString e#)
                   :statTraceList (mapv #(str %) (.getStackTrace e#))})
            (catch Exception e# _)))))

(defmacro log-error-return [return-message [function & args :as all] & functions]
  `(try

(defn trace-log [msg]
  (try (send be.dsquare.logging/log-agent be.dsquare.logging/update-map
             (merge be.dsquare.logging/*logPrinter* msg))
       (catch Exception e#)))

(defmacro timelog [message [function & args :as all] & functions]
  `(binding [be.dsquare.logging/*logPrinter* {:fix-token (hash '~&form) :dynamic-token (rand-int 10000)}]
