Sometimes I think and go "wow I'm thinking" but at the end of the day I'm still as dumb as rocks (which fits crunchy rocks I guess)
This commit is contained in:
parent
dfc3b5f2ba
commit
5ebb98ec75
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ func main() {
|
|||
gapiCtx = context.Background()
|
||||
|
||||
log.Println("[x-emoji] Loading emojis...")
|
||||
emojis, err := emoji.ScanEmojiDirectory(*emojipath)
|
||||
var err error
|
||||
emojis, err = emoji.ScanEmojiDirectory(*emojipath)
|
||||
if err != nil {
|
||||
log.Printf("[x-emoji] Error while loading emojis: %s\n", err.Error())
|
||||
log.Println("[x-emoji] Emoji support will be disabled")
|
||||
|
|
Reference in a new issue