fuck
This commit is contained in:
parent
d0551eb090
commit
ad2b6c2525
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ use tokio::{
|
|||
net::{TcpListener, TcpStream},
|
||||
};
|
||||
use tracing::{error, info};
|
||||
use tracing_subscriber::prelude::*;
|
||||
use tracing_subscriber::{prelude::*, EnvFilter};
|
||||
|
||||
use crate::{
|
||||
netty::{ReadExt, WriteExt},
|
||||
|
@ -86,6 +86,7 @@ impl Drop for ClientCounterGuard {
|
|||
async fn main() -> eyre::Result<()> {
|
||||
let _guard = sentry::init(std::env::var("SENTRY_DSN").ok());
|
||||
tracing_subscriber::registry()
|
||||
.with(EnvFilter::from_default_env())
|
||||
.with(tracing_subscriber::fmt::layer())
|
||||
.with(sentry_tracing::layer())
|
||||
.init();
|
||||
|
|
Loading…
Reference in a new issue