From 5087f2a605daa274fbe2e842e2afa806a9779587 Mon Sep 17 00:00:00 2001 From: Henry Tsai Date: Fri, 4 Oct 2024 13:01:35 -0700 Subject: [PATCH] lint --- packages/agent/src/oidc.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/agent/src/oidc.ts b/packages/agent/src/oidc.ts index 615fee38a..dc40917c4 100644 --- a/packages/agent/src/oidc.ts +++ b/packages/agent/src/oidc.ts @@ -669,12 +669,8 @@ async function createPermissionGrants( return grant.message; }); - try { - const messages = await Promise.all(messagePromises); - return messages; - } catch (error) { - throw error; - } + const messages = await Promise.all(messagePromises); + return messages; } /**