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