diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-24 18:18:23 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-28 13:55:46 +0100 |
commit | 2c15ed83257092e1bfb91a5c0300e06cf77e862b (patch) | |
tree | fee0b1b5a9457bac870ec1862447be18ce88c9ab /golib/eows/eows-out.go | |
parent | 163d435372850c8c7c8ae7c3f957741aff747871 (diff) |
Fixed incorrect log syntax.v0.1.7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'golib/eows/eows-out.go')
-rw-r--r-- | golib/eows/eows-out.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/golib/eows/eows-out.go b/golib/eows/eows-out.go index d624618..3abbdc0 100644 --- a/golib/eows/eows-out.go +++ b/golib/eows/eows-out.go @@ -25,7 +25,7 @@ func (e *ExecOverWS) cmdPumpStdout(r io.Reader, done chan struct{}) { e.OutputCB(e, sc.Text(), "") } if sc.Err() != nil { - e.logError("stdout scan:", sc.Err()) + e.logError("stdout scan: %v", sc.Err()) } close(done) @@ -42,6 +42,6 @@ func (e *ExecOverWS) cmdPumpStderr(r io.Reader) { e.OutputCB(e, "", sc.Text()) } if sc.Err() != nil { - e.logError("stderr scan:", sc.Err()) + e.logError("stderr scan: %v", sc.Err()) } } |