debug: add log for raw line

This commit is contained in:
2022-03-29 19:28:13 +02:00
parent 9d58ac21cc
commit d15a7b53f9
+1
View File
@@ -91,6 +91,7 @@ func (a *Part) Start() error {
break
}
zap.L().Debug("raw line: %s", zap.String("raw", line))
if !serialLineRegex.MatchString(line) {
zap.S().Errorf("invalid line: '%v'", line)
continue