Skip to content

Commit

Permalink
fix(ga4): failures not considered with 200 status in events tab
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir-4116 committed Feb 13, 2024
1 parent fcc33cb commit 00b458f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v0/destinations/ga4/networkHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const responseHandler = (destinationResponse, dest) => {
const { description, validationCode, fieldPath } = response.validationMessages[0];
throw new NetworkError(
`Validation Server Response Handler:: Validation Error for ${dest} of field path :${fieldPath} | ${validationCode}-${description}`,
status,
400,
{
[tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status),
[tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400),
},
response?.validationMessages[0]?.description,
);
Expand Down

0 comments on commit 00b458f

Please sign in to comment.