From 96ae92c0e996557672f3689cabe7f5ef66d14f65 Mon Sep 17 00:00:00 2001 From: Sai Sankeerth Date: Fri, 6 Dec 2024 20:11:16 +0530 Subject: [PATCH] chore: update expect-error comment --- src/v1/destinations/iterable/strategies/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v1/destinations/iterable/strategies/base.ts b/src/v1/destinations/iterable/strategies/base.ts index 650750bf39..348bfe7fc7 100644 --- a/src/v1/destinations/iterable/strategies/base.ts +++ b/src/v1/destinations/iterable/strategies/base.ts @@ -23,7 +23,7 @@ class BaseStrategy { handleError(responseParams: ResponseParams): void { const { destinationResponse, rudderJobMetadata } = responseParams; const { response, status } = destinationResponse; - // @ts-expect-error: not sure if this is correct or needed + // @ts-expect-error: not sure if `response.message` is correct or needed const responseMessage = response.params || response.msg || response.message; const errorMessage = JSON.stringify(responseMessage) || 'unknown error format';