summaryrefslogtreecommitdiff
path: root/recording/watcher.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-10 18:29:05 +0800
committerKeuin <[email protected]>2022-09-10 18:29:05 +0800
commit5a8b9c508fa186534a134bee2df705d4de95b9d9 (patch)
treedbec745400242c25d316c2b671e4526b7e91b77e /recording/watcher.go
parent73b2b41e777614d7c372b9d92a90b5fbb68d05c0 (diff)
"Dan Mu" -> "danmaku"
Diffstat (limited to 'recording/watcher.go')
-rw-r--r--recording/watcher.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/recording/watcher.go b/recording/watcher.go
index 0e5d087..cda0a3c 100644
--- a/recording/watcher.go
+++ b/recording/watcher.go
@@ -182,15 +182,15 @@ func watch(
var raw dmmsg.RawDanMuMessage
err = json.Unmarshal(msg.Body, &raw)
if err != nil {
- logger.Error("Cannot parse Dan Mu message as JSON: %v", err)
+ logger.Error("Cannot parse danmaku message as JSON: %v", err)
continue
}
dmm, err := dmmsg.ParseDanmakuMessage(raw)
if err != nil {
- logger.Error("Cannot parse Dan Mu message JSON: %v", err)
+ logger.Error("Cannot parse danmaku message JSON: %v", err)
continue
}
- logger.Info("Dan Mu: %v", dmm.String())
+ logger.Info("Danmaku: %v", dmm.String())
default:
logger.Info("Ignore unhandled server message %v %v %v",
info.Command, msg.Operation, string(msg.Body))