improve log message
authorChristian Grothoff <christian@grothoff.org>
Mon, 17 Feb 2020 19:45:31 +0000 (20:45 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 17 Feb 2020 19:45:31 +0000 (20:45 +0100)
src/pq/pq_connect.c

index e261ce19ec0669dc1be232fec0f84d5a314a2abf..70ae4fb2eb2189f0c798f88232eb0c9a17be5d15 100644 (file)
@@ -386,7 +386,8 @@ GNUNET_PQ_reconnect (struct GNUNET_PQ_Context *db)
                        NULL);
       if (PGRES_COMMAND_OK != PQresultStatus (res))
       {
-        GNUNET_break (0);
+        GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                    "Failed to run SQL logic to setup database versioning logic (permission denied?)\n");
         PQclear (res);
         PQfinish (db->conn);
         db->conn = NULL;