honeybadger
An unofficial Honeybadger Rust client
Description
Honeybadger is a service that receives, stores and alerts on application errors and outages. This library is a community-provided client for the Honeybadger Exceptions API.
Underneath, the client uses a Tokio-based version of Hyper, and leverages ErrorChain to support backtraces.
Example
Assuming the project is setup to use
ErrorChain, the following
example will execute code in do_work
, send a honeybadger exception if it fails, and
subsequently end the program.
use *;
use result;
use run;
// let api_token = "...";
let config = new.build;
let mut hb = new.unwrap;
let work = result
.or_else
.map_err;
run;
License: MIT