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
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
zap.L().Debug("raw line: %s", zap.String("raw", line))
|
||||||
if !serialLineRegex.MatchString(line) {
|
if !serialLineRegex.MatchString(line) {
|
||||||
zap.S().Errorf("invalid line: '%v'", line)
|
zap.S().Errorf("invalid line: '%v'", line)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user