« get me outta code hell

sugar: showAggregate: move cause beneath aggregate errors - 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:
author(quasar) nebula <qznebula@protonmail.com>2023-12-29 18:47:08 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-29 18:47:08 -0400
commit9e815d7d7a58a0fc746277e43d3b2f033d8d4e12 (patch)
tree84eaeeb67326bb0df737aade7875cd5648aae963 /src/util
parent58858172c0173e2bea6b6e60bbdeb2691629b944 (diff)
sugar: showAggregate: move cause beneath aggregate errors
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sugar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js
index cee3df12..a6d50943 100644
--- a/src/util/sugar.js
+++ b/src/util/sugar.js
@@ -733,7 +733,7 @@ export function showAggregate(topError, {
             .join('\n')
         : '');
 
-    return [headerPart, causePart, errorsPart].filter(Boolean).join('\n');
+    return [headerPart, errorsPart, causePart].filter(Boolean).join('\n');
   };
 
   const structure = flattenErrorStructure(topError);