Skip to content

Commit e320b09

Browse files
Update tests/validation/common/log_validation_utils.py
Co-authored-by: Copilot <[email protected]> Signed-off-by: KarolinaPomian <[email protected]>
1 parent 1655ae9 commit e320b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/validation/common/log_validation_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def check_for_errors(
8181
]
8282

8383
try:
84-
with open(log_path, "r", encoding="utf-8", errors="ignore") as f:
84+
with open(log_path, "r", encoding="utf-8", errors="replace") as f:
8585
for i, line in enumerate(f):
8686
for keyword in error_keywords:
8787
if keyword.lower() in line.lower():

0 commit comments

Comments
 (0)