Add url logging to database url parsing exception

This commit is contained in:
Guntis Smaukstelis
2023-12-28 00:30:31 +02:00
parent 5d5a20e95a
commit 5dfe61137c
+1 -1
View File
@@ -37,7 +37,7 @@ object DBConnection {
config.username, config.username,
config.password config.password
)) ))
case Left(error) => IO.raiseError(new RuntimeException(s"Failed to parse DATABASE_URL: $error")) case Left(error) => IO.raiseError(new RuntimeException(s"Failed to parse DATABASE_URL: '$getDatabaseUrl' $error"))
} }
} }
} }