From 54453b04e561343af900f9da546c7ba0a607cca1 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sat, 2 Dec 2023 12:50:53 +0000 Subject: [PATCH] chore(uploadDocumentation): Expose full error (#10012) chore: expose full error Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/actions/src/uploadDocumentation/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/actions/src/uploadDocumentation/index.ts b/packages/actions/src/uploadDocumentation/index.ts index 43a8b42cc4ee..c2a25c49e7ac 100644 --- a/packages/actions/src/uploadDocumentation/index.ts +++ b/packages/actions/src/uploadDocumentation/index.ts @@ -32,7 +32,6 @@ for await (const file of globber.globGenerator()) { '', )}, ${version}, ${url}) on conflict (name, version) do update set url = EXCLUDED.url`; } catch (error) { - const err = error as Error; - console.log(err.message); + console.log(error); } }