Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A base library for Hoptoad error reporting
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Rakefile
Readme.md
toadhopper.gemspec

Readme.md

A base library for Hoptoad error reporting.

Toadhopper can be used to report plain old Ruby exceptions or to build a library specific gem, such as the yet-to-be-built toadhopper-sinatra and toadhopper-rack gems (they're next on my list).

Example

require 'rubygems'

gem 'toadhopper'
require 'toadhopper'

Toadhopper.api_key = "YOURAPIKEY"

error = begin; raise "Kaboom!"; rescue => e; e; end

puts Toadhopper.post!(error)
Something went wrong with that request. Please try again.