Skip to content

Commit

Permalink
feat: enable sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 committed Jan 3, 2024
1 parent baf48c3 commit 3f45eb0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ struct Features;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
let _guard = sentry::init((
"https://[email protected]/4",
sentry::ClientOptions {
release: sentry::release_name!(),
..Default::default()
},
));

dotenv().ok();
tracing_subscriber::fmt().compact().init();

Expand Down

0 comments on commit 3f45eb0

Please sign in to comment.