From 2c89e9510ecbca184ed56be5f06695dec1edd205 Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Tue, 31 Mar 2020 16:00:41 +0000 Subject: [PATCH] changed to use log instead of debug --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index b401642..c155fba 100644 --- a/utils.go +++ b/utils.go @@ -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 }