Skip to content

Commit

Permalink
add new error_code for campaign manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSudip committed Sep 25, 2023
1 parent daa48f9 commit a04af93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v0/destinations/campaign_manager/networkHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ function checkIfFailuresAreRetryable(response) {
if (Array.isArray(response.status) && Array.isArray(response.status[0].errors)) {
return (
response.status[0].errors[0].code !== 'PERMISSION_DENIED' &&
response.status[0].errors[0].code !== 'INVALID_ARGUMENT'
response.status[0].errors[0].code !== 'INVALID_ARGUMENT' &&
response.status[0].errors[0].code !== 'NOT_FOUND'
);
}
return true;
Expand Down

0 comments on commit a04af93

Please sign in to comment.