diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 09:02:16 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 09:03:14 -0400 |
commit | 8c904d232eaa39307b0d52605fcef6e87c4f0635 (patch) | |
tree | a8cc997135cad8556477a5393ae59a63eb86252e | |
parent | 363f6d1294fedfe8c4b43c1eb9e23985811135ca (diff) |
data: track: comment on self-inspecting album in custom inspect
-rw-r--r-- | src/data/things/track.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index 9b2dbd6d..93beb5e2 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -516,7 +516,11 @@ export class Track extends Thing { if (depth >= 0) { try { album = this.album; - } catch (_error) {} + } catch (_error) { + // Computing album might crash for any reason, which we don't want to + // distract from another error we might be trying to work out at the + // moment (for which debugging might involve inspecting this track!). + } album ??= this.dataSourceAlbum; } |