From d15a7b53f9fa3b67410422f2f2e015e696a40187 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Tue, 29 Mar 2022 19:23:28 +0200 Subject: [PATCH] debug: add log for raw line --- pkg/arduino/arduino.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/arduino/arduino.go b/pkg/arduino/arduino.go index 9aa9485..7a27016 100644 --- a/pkg/arduino/arduino.go +++ b/pkg/arduino/arduino.go @@ -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