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; } };