Browse Source

changed to use log instead of debug

master
David Haukeness 5 years ago
parent
commit
2c89e9510e
  1. 2
      utils.go

2
utils.go

@ -33,7 +33,7 @@ func (b *bot) logError(err error) string { @@ -33,7 +33,7 @@ func (b *bot) logError(err error) string {
// generate the error id
eid := shortid.MustGenerate()
// send the error to the log
b.debug("`%s` - %s", eid, err)
b.log("`%s` - %s", eid, err)
// then return the error id for use
return eid
}

Loading…
Cancel
Save