summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 11d08f82d..a41dc4e6a 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -179,7 +179,8 @@ connect_to_postgres (struct PostgresClosure *pc)
if (CONNECTION_OK !=
PQstatus (conn))
{
- TALER_LOG_ERROR ("Database connection failed: %s\n",
+ TALER_LOG_ERROR ("Database connection to '%s' failed: %s\n",
+ pc->connection_cfg_str,
PQerrorMessage (conn));
return NULL;
}