From 707d0bbc786215a69bdb145e6ab8b0bbe7b08c4f Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 00:15:10 +0000 Subject: [PATCH] Update Src/VTEX/VTEXWrapper.cs --- Src/VTEX/VTEXWrapper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/VTEX/VTEXWrapper.cs b/Src/VTEX/VTEXWrapper.cs index 170be6208..4dde11430 100644 --- a/Src/VTEX/VTEXWrapper.cs +++ b/Src/VTEX/VTEXWrapper.cs @@ -203,6 +203,7 @@ private async Task ServiceInvokerInternal( return result; } catch (AggregateException e) + { var ex = e.InnerExceptions.FirstOrDefault() ?? e.InnerException ?? e;