diff --git a/src/jira.rs b/src/jira.rs index f303698..2a5fc03 100644 --- a/src/jira.rs +++ b/src/jira.rs @@ -35,15 +35,7 @@ async fn handle(info: web::Query, body: web::Json, clients: Data return HttpResponse::Unauthorized().finish(); } - let d = clients.jira_client.send_message(&message(&body)).await; - match d { - Ok(o) => { - println!("webhook delivery succesful: {}", o); - } - Err(e) => { - println!("geci: {}", e); - } - } + let _ = clients.jira_client.send_message(&message(&body)).await; HttpResponse::Accepted().finish() } diff --git a/src/main.rs b/src/main.rs index 8a9291e..43c35f5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,7 @@ struct Clients { #[actix_web::main] async fn main() -> std::io::Result<()> { dotenv().ok(); - env::set_var("RUST_LOG", "debug"); + env::set_var("RUST_LOG", "info"); env_logger::init(); let jira_url = match env::var("JIRA_URL") {