From: Eric Leblond Date: Wed, 11 Jun 2025 07:18:49 +0000 (+0200) Subject: run: fix invalid error handling X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc8e84af3abc0203329f8fe79fb680329b3713bf;p=thirdparty%2Fsuricata-verify.git run: fix invalid error handling --- diff --git a/run.py b/run.py index b0cc6f0cf..1b3ade35e 100755 --- a/run.py +++ b/run.py @@ -178,7 +178,7 @@ def pipe_reader(fileobj, output=None, verbose=False, utf8_errors=[]): try: line = line.decode().strip() except: - self.utf8_errors.append("Invalid line") + utf8_errors.append("Invalid line") print(line)