https://github.com/funcool/catacumba-prone
A prone (error reporting middleware) integration for catacumba.
https://github.com/funcool/catacumba-prone
Last synced: 8 months ago
JSON representation
A prone (error reporting middleware) integration for catacumba.
- Host: GitHub
- URL: https://github.com/funcool/catacumba-prone
- Owner: funcool
- License: bsd-2-clause
- Created: 2016-01-16T10:01:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T16:11:18.000Z (over 9 years ago)
- Last Synced: 2025-07-09T08:50:03.856Z (8 months ago)
- Language: Clojure
- Size: 14.6 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# catacumba-prone #
[](http://clojars.org/funcool/catacumba-prone)
## Introduction ##
A [prone][1] (error reporting middleware) integration
for catacumba.
[Prone][1] 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.
## Quick Start ##
For use it on your application, add the appropriate dependency:
```clojure
[funcool/catacumba-prone "0.4.0"]
```
Later, add the prone handler to you route chain:
```clojure
(ns myappns.routes
(:require [catacumba.core :as ct]
[catacumba.plugins.prone :as prone]))
(def app
(ct/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.
## Contributing & License ##
The same as [catacumba][2].
[1]: https://github.com/magnars/prone
[2]: https://funcool.github.io/catacumba/latest/#developers-guide