Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

ankane/errbase

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Errbase

Errbase has been merged into Safely - use that instead.


Common exception reporting for a variety of services

Libraries are automatically detected. Supports:

begin
  # code
rescue => e
  Errbase.report(e)
end

You can add extra context with:

Errbase.report(e, {username: "hello"})

Context is not supported for Google Stackdriver

Build Status

Installation

Errbase is designed to be used as a dependency.

Add this line to your gemspec:

spec.add_dependency "errbase"

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

To get started with development:

git clone https://github.com/ankane/errbase.git
cd errbase
bundle install
bundle exec rake test