debug: add log for raw line

This commit is contained in:
Cyrille Nofficial 2022-03-29 19:23:28 +02:00
parent 9d58ac21cc
commit d15a7b53f9

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