Try sentry::init()

This commit is contained in:
Deirdre Connolly 2020-12-04 03:47:52 -05:00 committed by Deirdre Connolly
parent b3c8794760
commit 47d78d4cf4
2 changed files with 12 additions and 0 deletions

View File

@ -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"

View File

@ -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);
}