From 7d275ca1d58c38859fce95d7d0677e11342c662a Mon Sep 17 00:00:00 2001 From: Utsab Chowdhury Date: Thu, 14 Dec 2023 22:29:05 +0530 Subject: [PATCH 1/2] fix: update response handling for v1 proxy --- src/services/destination/postTransformation.ts | 2 ++ test/integrations/destinations/braze/dataDelivery/data.ts | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/services/destination/postTransformation.ts b/src/services/destination/postTransformation.ts index 7e9cd52aed..3cec459f8b 100644 --- a/src/services/destination/postTransformation.ts +++ b/src/services/destination/postTransformation.ts @@ -186,6 +186,8 @@ export class DestinationPostTransformationService { const resp = { response: responses, statTags: errObj.statTags, + authErrorCategory: errObj.authErrorCategory, + message: errObj.message.toString(), } as DeliveriesResponse; ErrorReportingService.reportError(error, metaTo.errorContext, resp); diff --git a/test/integrations/destinations/braze/dataDelivery/data.ts b/test/integrations/destinations/braze/dataDelivery/data.ts index d62361e7f9..49a6d607e5 100644 --- a/test/integrations/destinations/braze/dataDelivery/data.ts +++ b/test/integrations/destinations/braze/dataDelivery/data.ts @@ -659,6 +659,8 @@ export const data = [ module: 'destination', workspaceId: '2Csl0lSTbuM3qyHdaOQB2GcDH8o', }, + authErrorCategory: '', + message: 'Request failed for braze with status: 401', }, }, }, @@ -834,6 +836,8 @@ export const data = [ module: 'destination', workspaceId: '2Csl0lSTbuM3qyHdaOQB2GcDH8o', }, + authErrorCategory: '', + message: 'Request failed for braze with status: 401', }, }, }, From 5f1887501c7dbaeb97a580058f23af7c96fff78a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 14 Dec 2023 17:08:12 +0000 Subject: [PATCH 2/2] chore(release): 1.52.1 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 561aaa900f..bc9a32f4cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.52.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.52.0...v1.52.1) (2023-12-14) + + +### Bug Fixes + +* update response handling for v1 proxy ([7d275ca](https://github.com/rudderlabs/rudder-transformer/commit/7d275ca1d58c38859fce95d7d0677e11342c662a)) + ## [1.52.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.51.1...v1.52.0) (2023-12-12) diff --git a/package-lock.json b/package-lock.json index 440bb9ea46..8b14350448 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.52.0", + "version": "1.52.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.52.0", + "version": "1.52.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index fe3c9f51b3..6e5ce2f9a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.52.0", + "version": "1.52.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": {