Try sentry::init()
This commit is contained in:
parent
b3c8794760
commit
47d78d4cf4
|
@ -40,6 +40,8 @@ dirs = "3.0.1"
|
||||||
inferno = { version = "0.10.2", default-features = false }
|
inferno = { version = "0.10.2", default-features = false }
|
||||||
atty = "0.2.14"
|
atty = "0.2.14"
|
||||||
|
|
||||||
|
sentry = "0.19.0"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
vergen = "3.1.0"
|
vergen = "3.1.0"
|
||||||
|
|
||||||
|
|
|
@ -7,5 +7,15 @@ use zebrad::application::APPLICATION;
|
||||||
|
|
||||||
/// Boot Zebrad
|
/// Boot Zebrad
|
||||||
fn main() {
|
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);
|
abscissa_core::boot(&APPLICATION);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue