feat: trace or not that isn't the question
This commit is contained in:
parent
dd67020b3e
commit
471482d6f8
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user