839 B
839 B
id, title, status, assignee, created_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | labels | dependencies | references | priority | |
|---|---|---|---|---|---|---|---|---|---|
| ML-98 | Potential nil crash in ScrobbleActivity | Done | 2026-04-20 08:58 |
|
medium |
Description
GitHub: created 2026-02-17 · updated 2026-03-05 · closed 2026-03-05
Priority: Medium
Description
lib/music_library/scrobble_activity.ex:70,80,89 — Enum.find results are piped directly into Release.medium_duration/1 without nil guards. If a medium with the specified number isn't found, this crashes with a FunctionClauseError.
Expected behavior
Add nil guards or handle the case where Enum.find returns nil gracefully.
Source
From technical debt audit (2026-02-17), item #3.