Commit bc35250
debug: add entry-point diagnostics to _install_log_filters_if_available
The server-package-side diagnostics (log_filters.py, commit 7423224)
confirmed install_sdk_log_filters() itself never logs anything -- but that
leaves open whether _install_log_filters_if_available() is even being
entered, or is silently returning via its "older ha-mcp" ModuleNotFoundError
branch despite a full custom_components/ha_mcp_tools/ directory replacement
(ruling out the single-file cross-module ModuleNotFoundError seen earlier).
Add an unconditional entry log using embedded_server's own _LOGGER (already
proven visible throughout this deployment across many other log lines),
and stop silencing the "older ha-mcp" ModuleNotFoundError branch so its
exact err.name/message is visible too, rather than assuming which case it
hit.
Marked TEMPORARY; remove alongside the other temporary diagnostics once the
live mismatch is diagnosed.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 7423224 commit bc35250
1 file changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
264 | 270 | | |
265 | 271 | | |
266 | 272 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
274 | 280 | | |
275 | 281 | | |
276 | 282 | | |
277 | 283 | | |
278 | 284 | | |
279 | 285 | | |
280 | 286 | | |
| 287 | + | |
281 | 288 | | |
282 | 289 | | |
283 | 290 | | |
| |||
0 commit comments