Revert "fuck"

This reverts commit ad2b6c2525.
kity
Skye 5 months ago
parent 10cdd957ff
commit 63a8339e5e
Signed by: me
GPG Key ID: 0104BC05F41B77B8

@ -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…
Cancel
Save