Files
music_library/backlog/archive/tasks/ml-70 - Bare-catch-blocks-in-telemetry-storage.md
T
2026-05-04 21:22:27 +01:00

928 B

id, title, status, assignee, created_date, labels, dependencies, references, priority
id title status assignee created_date labels dependencies references priority
ML-70 Bare catch blocks in telemetry storage To Do
2026-04-20 08:55
https://github.com/cloud8421/music_library/issues/105
low

Description

GitHub: created 2026-03-12 · updated 2026-04-09 · closed 2026-03-16 · not planned

Description

lib/music_library_web/telemetry/storage.ex:106-107,123-124 uses bare catch blocks that silently swallow all errors. While reasonable for telemetry resilience (ETS table may not exist during shutdown), they make debugging harder when the table is unexpectedly missing during normal operation.

Expected behavior

Add Logger.debug calls inside the catch blocks to aid troubleshooting ETS table issues without affecting production resilience.

Source

From technical debt audit (2026-03-12).