sentry 0.48.5

Sentry (sentry.io) client for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    let _sentry = sentry::init(
        sentry::ClientOptions::new()
            .maybe_release(sentry::release_name!())
            .debug(true),
    );

    {
        let _guard = sentry::Hub::current().push_scope();
        sentry::configure_scope(|scope| {
            scope.set_tag("foo", "bar");
        });
        panic!("Holy shit everything is on fire!");
    }
}