« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sugar.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js
index f3b9e732..0362e327 100644
--- a/src/util/sugar.js
+++ b/src/util/sugar.js
@@ -226,6 +226,10 @@ export function openAggregate({
       );
     };
 
+  aggregate.push = (error) => {
+    errors.push(error);
+  };
+
   aggregate.call = (fn, ...args) => {
     return aggregate.wrap(fn)(...args);
   };