« get me outta code hell

yaml: fix normal find.track errors not passing through - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-15 17:10:05 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-15 17:10:05 -0300
commitf235cf91ab83bc792d6a193d524a20addfeaeb9c (patch)
treedeaba38a7c41120d55d2bc247d4d585c1016f164
parent5fd2e1901c55d30e92aa1fbdc66fa7185c09ada2 (diff)
yaml: fix normal find.track errors not passing through
-rw-r--r--src/data/yaml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 77c48a79..44bca66b 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -1445,7 +1445,7 @@ export function filterReferenceErrors(wikiData) {
 
               case '_trackNotRerelease':
                 findFn = trackRef => {
-                  const track = find.track(trackRef, wikiData.trackData, {mode: 'quiet'});
+                  const track = find.track(trackRef, wikiData.trackData, {mode: 'error'});
 
                   if (track?.originalReleaseTrackByRef) {
                     // It's possible for the original to not actually exist, in this case.