Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
jvb committed Feb 7, 2019
1 parent c37f374 commit 03896d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 03896d4

Please sign in to comment.