From 03896d4ca11deb7cd539cfa83ff142f305419293 Mon Sep 17 00:00:00 2001 From: jvb Date: Thu, 7 Feb 2019 21:16:46 +0100 Subject: [PATCH] debug log --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 68f4c1c..aedccb9 100644 --- a/main.go +++ b/main.go @@ -786,6 +786,7 @@ func (e *Exporter) Connect() { } else { config.Cfgs[i].db.Close() e.up.WithLabelValues(conf.Database,conf.Instance).Set(0) + log.Errorln("Error connecting to database:", err) //log.Infoln("Connect OK, Inital query failed: ", conf.Connection) } }