Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 41 lines (30 sloc) 0.713 kb

WhoopsRailsLogger

This gem provides an exception strategy for Rails applications. By default, it catches all unhandled exceptions raised within a Rails controller.

Installation

  1. Add whoops_rails_logger to your Gemfile

  2. Create config/whoops_logger.yml

  3. Add the following options, as needed, per environment:

:host :http_open_timeout :http_read_timeout :port :protocol :proxy_host :proxy_pass :proxy_port :proxy_user :secure

Example:

development: host: localhost port: 3000 production: host: somehost.com

Usage

By default, it catches all unhandled exceptions raised within a Rails controller.

TODO

  • Provide a mechanism for logging an exception at any point

Something went wrong with that request. Please try again.