[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Give db conn. str. examples upon failu
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Give db conn. str. examples upon failure |
Date: |
Fri, 29 Jan 2021 22:00:56 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new f178af0 Give db conn. str. examples upon failure
f178af0 is described below
commit f178af099ff2f39dc86612679190e15c707c7a3b
Author: MS <ms@taler.net>
AuthorDate: Fri Jan 29 22:00:50 2021 +0100
Give db conn. str. examples upon failure
---
util/src/main/kotlin/Config.kt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/util/src/main/kotlin/Config.kt b/util/src/main/kotlin/Config.kt
index f376b63..e1d678d 100644
--- a/util/src/main/kotlin/Config.kt
+++ b/util/src/main/kotlin/Config.kt
@@ -53,6 +53,9 @@ fun getDbConnFromEnv(varName: String): String {
val dbConnStr = System.getenv(varName)
if (dbConnStr.isNullOrBlank() or dbConnStr.isNullOrEmpty()) {
println("DB connection string not found/valid in the env variable
$varName.")
+ println("The following two examples are valid connection strings:")
+ println("jdbc:sqlite:/tmp/libeufindb.sqlite3")
+
println("jdbc:postgresql://localhost:5432/libeufindb?user=Foo&password=secret")
exitProcess(1)
}
return dbConnStr
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Give db conn. str. examples upon failure,
gnunet <=