funcool/catacumba-prone

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

catacumba-prone

Clojars Project

Introduction

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.

Quick Start

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.

Contributing & License

The same as catacumba.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.