diff --git a/python/albedo_bridge.py b/python/albedo_bridge.py index 42f81cbff..8fde15e43 100644 --- a/python/albedo_bridge.py +++ b/python/albedo_bridge.py @@ -98,7 +98,7 @@ def start(run_dir: str, modules: str, token: str) -> socket.socket: status = kernel.poll() if status is not None: try: - with open(log_path, encoding="utf-8") as log: + with open(log_path, encoding="utf-8", errors="replace") as log: detail = log.read().strip() except OSError: detail = "no kernel log"