From 9e815d7d7a58a0fc746277e43d3b2f033d8d4e12 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Dec 2023 18:47:08 -0400 Subject: sugar: showAggregate: move cause beneath aggregate errors --- src/util/sugar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit 1.3.0-6-gf8a5