feat: trace or not that isn't the question

This commit is contained in:
Max batleforc 2024-06-28 10:30:11 +02:00
parent dd67020b3e
commit 471482d6f8
No known key found for this signature in database
GPG Key ID: 25D243AB4B6AC9E7

View File

@ -20,6 +20,7 @@ use utoipa_swagger_ui::SwaggerUi;
async fn main() -> std::io::Result<()> { async fn main() -> std::io::Result<()> {
let config = parse_local_config(); let config = parse_local_config();
let port = config.port; let port = config.port;
tracing::init::init_tracing(config.tracing.clone(), config.bot_name.clone());
match db::init::init_db(config.persistence.clone()).await { match db::init::init_db(config.persistence.clone()).await {
Ok(_) => {} Ok(_) => {}
Err(e) => { Err(e) => {