summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service-person/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-person/src/main.rs b/service-person/src/main.rs
index 5fd9a9d..60318ca 100644
--- a/service-person/src/main.rs
+++ b/service-person/src/main.rs
@@ -37,7 +37,7 @@ async fn main() -> anyhow::Result<()> {
{
let conn = db_connection_pool.get().expect("Failed to get connection from pool");
- embedded_migrations::run_with_output(&conn, &mut std::io::stdout());
+ embedded_migrations::run_with_output(&conn, &mut std::io::stdout())?;
} // drop `conn` here
HttpServer::new(move || {