mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
fix
This commit is contained in:
@@ -320,7 +320,7 @@ class MemoryAnalyzer:
|
|||||||
self._demangle_cache[original] = demangled
|
self._demangle_cache[original] = demangled
|
||||||
# Log symbols that failed to demangle (stayed the same)
|
# Log symbols that failed to demangle (stayed the same)
|
||||||
if original == demangled and original.startswith("_Z"):
|
if original == demangled and original.startswith("_Z"):
|
||||||
_LOGGER.debug("Failed to demangle symbol: %s", original[:100])
|
_LOGGER.debug("Failed to demangle symbol: %s", original)
|
||||||
return
|
return
|
||||||
except (subprocess.SubprocessError, OSError, UnicodeDecodeError) as e:
|
except (subprocess.SubprocessError, OSError, UnicodeDecodeError) as e:
|
||||||
# On error, cache originals
|
# On error, cache originals
|
||||||
|
|||||||
Reference in New Issue
Block a user