773 B
773 B
id, title, status, assignee, created_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | labels | dependencies | references | priority | |
|---|---|---|---|---|---|---|---|---|---|
| ML-87 | ArtistInfo.country/1 assumes map key exists | Done | 2026-04-20 08:57 |
|
low |
Description
GitHub: created 2026-02-17 · updated 2026-03-06 · closed 2026-03-06
Priority: Low
Description
lib/music_library/artists/artist_info.ex:34-35 — Pattern matches on %{"area" => area} = artist_info.musicbrainz_data which crashes with MatchError if the "area" key is missing.
Expected behavior
Use Map.get/3 with a default value instead of pattern matching.
Source
From technical debt audit (2026-02-17), item #14.