diff --git a/src/helpers/DeliveryHelper.ts b/src/helpers/DeliveryHelper.ts index 29e4b0d..fd7c62c 100644 --- a/src/helpers/DeliveryHelper.ts +++ b/src/helpers/DeliveryHelper.ts @@ -44,7 +44,7 @@ export class DeliveryHelper { let success = true; try { await apigwManagementApi.postToConnection({ ConnectionId: connection.socketId, Data: JSON.stringify(payload) }).promise(); - } catch (ex: any) { + } catch (ex) { success = false; LoggingHelper.getCurrent().error(ex); }