Skip to content

Commit

Permalink
Use INFO for script execution errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jkassemi committed Jan 9, 2017
1 parent 32f32c8 commit 3ee25c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
2 changes: 1 addition & 1 deletion script_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func runScripts(scripts []*Script) []*Measurement {
log.Debugf("OK: %s (after %fs).", script.Name, duration)
success = 1
} else {
log.Errorf("ERROR: %s: %s (failed after %fs).", script.Name, err, duration)
log.Infof("ERROR: %s: %s (failed after %fs).", script.Name, err, duration)
}

ch <- &Measurement{
Expand Down

0 comments on commit 3ee25c0

Please sign in to comment.