« get me outta code hell

cacheable-object: don't hit superclass finalized status - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/index.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-02-22 13:36:38 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-02-22 13:37:56 -0400
commitbd58ecd5a73e1cc67b73e3fcb664011a02c06087 (patch)
treed053865ea592eddec2fbb73fd9f3368ab274d578 /src/data/things/index.js
parentd35275e1312cdc889aede73293afd971274384dc (diff)
cacheable-object: don't hit superclass finalized status
Also report errors finalizing properly
Diffstat (limited to 'src/data/things/index.js')
-rw-r--r--src/data/things/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/things/index.js b/src/data/things/index.js
index 309d0803..d0eb5aa7 100644
--- a/src/data/things/index.js
+++ b/src/data/things/index.js
@@ -186,6 +186,10 @@ function finalizeCacheableObjectPrototypes() {
     op(constructor) {
       constructor.finalizeCacheableObjectPrototype();
     },
+
+    showFailedClasses(failedClasses) {
+      logError`Failed to finalize cacheable object prototypes for classes: ${failedClasses.join(', ')}`;
+    },
   });
 }