From e3ecd99b234181fb14b738855e18841b5d2a1a60 Mon Sep 17 00:00:00 2001 From: Markus Date: Wed, 15 Jan 2025 11:43:31 +0200 Subject: [PATCH] chore: add spacing --- packages/events/src/service/files/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/events/src/service/files/index.ts b/packages/events/src/service/files/index.ts index 52e1c83730..d1e7a5598e 100644 --- a/packages/events/src/service/files/index.ts +++ b/packages/events/src/service/files/index.ts @@ -40,6 +40,7 @@ function getFieldDefinitionForActionDataField( logger.error('Failed to find active form configuration', { actionType }) + throw new Error('Failed to find active form configuration') } @@ -64,6 +65,7 @@ export async function presignFilesInEvent(event: EventDocument, token: string) { logger.error('Failed to find configuration for event', { event: event.type }) + throw new Error('Failed to find configuration for event') } @@ -160,6 +162,7 @@ async function presignFiles( status: res.status, text: await res.text() }) + throw new Error('Failed to presign files') }