Skip to content

Commit

Permalink
chore: update expect-error comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sai Sankeerth committed Dec 6, 2024
1 parent 0927438 commit 96ae92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v1/destinations/iterable/strategies/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 96ae92c

Please sign in to comment.