Name: catacumba-prone
Owner: funcool
Description: A prone (error reporting middleware) integration for catacumba.
Created: 2016-01-16 10:01:30.0
Updated: 2017-04-25 06:55:37.0
Pushed: 2016-08-17 16:11:18.0
Homepage: null
Size: 15
Language: Clojure
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A prone (error reporting middleware) integration for catacumba.
Prone is a exception reporting middleware for ring based applications that show a beautiful, navegable and human readable stacktraces when an exception is throwed in your application. It is not directly compatible with catacumba but here is a integration that allows you use almost all features that it exposes.
For use it on your application, add the appropriate dependency:
cool/catacumba-prone "0.4.0"]
Later, add the prone handler to you route chain:
myappns.routes
require [catacumba.core :as ct]
[catacumba.plugins.prone :as prone]))
app
t/routes [[:setup (prone/handler {:namespaces ["myappns"]})]
;; your handlers here
]))
Now, if an exception is happens in your application, the prone middleware will capture it and showed in a beautiful manner.
The same as catacumba.