debug: add log for raw line
This commit is contained in:
parent
9d58ac21cc
commit
d15a7b53f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user