« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js6
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;
     }