changed to use log instead of debug
This commit is contained in:
2
utils.go
2
utils.go
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user