changed to use log instead of debug

This commit is contained in:
2020-03-31 16:00:41 +00:00
parent 04b79c7ad7
commit 2c89e9510e

View File

@ -33,7 +33,7 @@ func (b *bot) logError(err error) string {
// generate the error id // generate the error id
eid := shortid.MustGenerate() eid := shortid.MustGenerate()
// send the error to the log // 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 // then return the error id for use
return eid return eid
} }