diff --git a/src/infra/tcp_server.rs b/src/infra/tcp_server.rs index 606b6bf..d32acc4 100644 --- a/src/infra/tcp_server.rs +++ b/src/infra/tcp_server.rs @@ -40,6 +40,7 @@ where .limit(4096) .error_handler(|err, _req| { // create custom error response + log::error!("API error: {}", err); actix_web::error::InternalError::from_response( err, HttpResponse::Conflict().finish().into(),