Sha256: 85ba47329a0568872d19b2ba73836e084dfb5f8dcc715e2434ed2eecc26c6f9f

Contents?: true

Size: 913 Bytes

Versions: 10

Compression:

Stored size: 913 Bytes

Contents

Flail is an exception catcher for Rack applications.

##### Supports

* Rails 2.3.x
* Rails 3.x


#### Install

```
$ [sudo] gem install flail
```

For Rails 2.3.x, install the gem as a plugin


#### Usage


Add an initializer to configure (or call configure during application startup):

```ruby
Flail.configure do
  # configure a custom handler for the error payload
  # don't call if you want to use the default http post handler
  handle do |payload|
  end

  # endpoint for default handler
  url "https://flail.net/swing"

  # environment of application, defaults to Rails.env
  # included in payload
  environment "production"

  # hostname to use of server, defaults to Socket.gethostname
  # included in payload
  host Socket.gethostname

  # arbitrary tag (api key) which can identify
  # your project or be anything else
  tagged "custom_key"
end
```


#### Author


Original author: John "asceth" Long

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
flail-0.1.3 README.md
flail-0.1.2 README.md
flail-0.1.1 README.md
flail-0.1.0 README.md
flail-0.0.7 README.md
flail-0.0.6 README.md
flail-0.0.5 README.md
flail-0.0.4 README.md
flail-0.0.3 README.md
flail-0.0.2 README.md