All checks were successful
ci/woodpecker/push/validate_schema Pipeline was successful
692 B
692 B
obj | website | repo |
---|---|---|
application | https://www.bugsink.com | https://github.com/bugsink/bugsink |
Bugsink
Self‑Hosted Error Tracking, Sentry‑SDK Compatible
Usage
Rust
Add sentry
to your Cargo.toml
:
[dependencies]
sentry = "0.41.0"
Initialize sentry before any other main
:
fn main() {
let _guard = sentry::init((
"<YOUR_DSN>",
sentry::ClientOptions {
release: sentry::release_name!(),
send_default_pii: true,
..Default::default()
},
));
tokio::runtime::Builder::new_multi_thread()
.enable_all()
.build()
.unwrap()
.block_on(async_main());
}