Remove `log-ex` middleware - no longer needed
This commit is contained in:
parent
47959188a0
commit
f821c99858
|
@ -1,5 +1,10 @@
|
||||||
## 0.7.0 (2016-NN-NN)
|
## 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:
|
Improvements:
|
||||||
- added one tick of extra pause when events have `:flush=dom` metadata. Previously, there were odd times when
|
- 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.
|
the pause wasn't long enough to ensure redraws.
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
(def enrich middleware/enrich)
|
(def enrich middleware/enrich)
|
||||||
(def trim-v middleware/trim-v)
|
(def trim-v middleware/trim-v)
|
||||||
(def after middleware/after)
|
(def after middleware/after)
|
||||||
(def log-ex middleware/log-ex)
|
|
||||||
(def on-changes middleware/on-changes)
|
(def on-changes middleware/on-changes)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
(reset! app-db new-db)))))))
|
(reset! app-db new-db)))))))
|
||||||
|
|
||||||
|
|
||||||
(defn log-ex
|
#_(defn log-ex
|
||||||
"Middleware which catches and prints any handler-generated exceptions to console.
|
"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
|
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
|
a special kind of hell when in comes to stacktraces. By the time an exception
|
||||||
|
|
Loading…
Reference in New Issue