Widen the identity-unknown guard to UnicodeError in the generic prepare_pch

This commit is contained in:
J. Nick Koston
2026-08-25 23:03:11 -05:00
parent eb28f2630a
commit 40f74815f0
+1 -1
View File
@@ -317,7 +317,7 @@ def prepare_pch(
cmd_id,
),
)
except OSError as err:
except (OSError, UnicodeError) as err:
# Identity unknown: a stale cache entry must never be served
_LOGGER.warning(
"Could not establish the pch identity; compiling without it: %s", err