Add url logging to database url parsing exception
This commit is contained in:
@@ -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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user