From 2826bcca0786b6852fed29cbfa39a5b37bbc4862 Mon Sep 17 00:00:00 2001 From: Frank Lemanschik Date: Fri, 21 Jan 2022 16:23:28 +0100 Subject: [PATCH] Fix: TypeScript Error got not Casted --- packages/core/src/oidc-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/oidc-utils.ts b/packages/core/src/oidc-utils.ts index e33da5f1..4f66f318 100644 --- a/packages/core/src/oidc-utils.ts +++ b/packages/core/src/oidc-utils.ts @@ -78,7 +78,7 @@ export class OidcClient { setSecret(id_token) return id_token } catch (error) { - throw new Error(`Error message: ${error.message}`) + throw new Error(`Error message: ${(error as Error).message}`) } } }