Skip to content

Commit

Permalink
chore: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
dchaofei committed Jun 11, 2024
1 parent cbec08a commit 0d6c5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wechaty/wechaty.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func (w *Wechaty) initPuppetEventBridge() {
messageID := i[0].(*schemas.EventMessagePayload).MessageId
message := w.message.Load(messageID)
if err := message.Ready(); err != nil {
log.Errorf("emit message message.Ready() err: %s\n", err.Error())
log.Errorf("emit message message.Ready(%s) err: %s\n", messageID, err.Error())
w.emit(schemas.PuppetEventNameError, NewContext(), err)
return
}
Expand Down

0 comments on commit 0d6c5b3

Please sign in to comment.