error handling in auth

This commit is contained in:
realaravinth
2021-06-28 23:03:15 +05:30
parent d298ef4719
commit c581d8d0a3
12 changed files with 51 additions and 15 deletions

View File

@@ -104,6 +104,9 @@ async fn main() -> std::io::Result<()> {
let data = Data::new().await;
sqlx::migrate!("./migrations/").run(&data.db).await.unwrap();
println!("Starting server on: http://{}", SETTINGS.server.get_ip());
HttpServer::new(move || {
App::new()
.wrap(actix_middleware::Logger::default())