From 33986fffab0f9b5131b12ee34041b41999fb3dab Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Mon, 23 Sep 2024 19:22:17 +0400 Subject: [PATCH] Update util.ts --- src/custom/util.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/custom/util.ts b/src/custom/util.ts index b2de975..5849a40 100644 --- a/src/custom/util.ts +++ b/src/custom/util.ts @@ -28,7 +28,8 @@ export const getAwsRegion = async () => { return identityResponse.data.region; } catch (e) { - throw new Error("Failed to retrieve AWS region"); + console.error("Failed to retrieve AWS region"); + throw e; } };