Remove `log-ex` middleware - no longer needed

This commit is contained in:
Mike Thompson 2016-03-14 21:00:33 +11:00
parent 47959188a0
commit f821c99858
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,10 @@
## 0.7.0 (2016-NN-NN)
Breaking:
- removed middleware `log-ex`. It is no longer needed because browsers now correctly report the
throw site of re-thown exceptions. In the unlikely event that you absolutely still need it,
the source for `log-ex`is still in `middleware.cljs`, commented out. Just transfer it to your project.
Improvements:
- added one tick of extra pause when events have `:flush=dom` metadata. Previously, there were odd times when
the pause wasn't long enough to ensure redraws.

View File

@ -27,7 +27,6 @@
(def enrich middleware/enrich)
(def trim-v middleware/trim-v)
(def after middleware/after)
(def log-ex middleware/log-ex)
(def on-changes middleware/on-changes)

View File

@ -36,7 +36,7 @@
(reset! app-db new-db)))))))
(defn log-ex
#_(defn log-ex
"Middleware which catches and prints any handler-generated exceptions to console.
Handlers are called from within a core.async go-loop, and core.async produces
a special kind of hell when in comes to stacktraces. By the time an exception