Skip to content

Commit

Permalink
Merge pull request #14 from Grummfy/debug-open-connection
Browse files Browse the repository at this point in the history
debug log on connection opening
  • Loading branch information
floyd871 authored Feb 8, 2019
2 parents c37f374 + 03896d4 commit 9617b04
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 9617b04

Please sign in to comment.