From 47d78d4cf429eea75e1c91e18ef5c213b38ce5b5 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 4 Dec 2020 03:47:52 -0500 Subject: [PATCH] Try sentry::init() --- zebrad/Cargo.toml | 2 ++ zebrad/src/bin/zebrad/main.rs | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index aa3c1cd58..70c062714 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -40,6 +40,8 @@ dirs = "3.0.1" inferno = { version = "0.10.2", default-features = false } atty = "0.2.14" +sentry = "0.19.0" + [build-dependencies] vergen = "3.1.0" diff --git a/zebrad/src/bin/zebrad/main.rs b/zebrad/src/bin/zebrad/main.rs index a105cbb56..f38f66236 100644 --- a/zebrad/src/bin/zebrad/main.rs +++ b/zebrad/src/bin/zebrad/main.rs @@ -7,5 +7,15 @@ use zebrad::application::APPLICATION; /// Boot Zebrad fn main() { + let _guard = sentry::init(( + "https://94059ee72a44420286310990b7c614b5@o485484.ingest.sentry.io/5540918", + sentry::ClientOptions { + debug: true, + ..Default::default() + }, + )); + + sentry::capture_message("Hello World!", sentry::Level::Info); + abscissa_core::boot(&APPLICATION); }