Skip to content

Commit

Permalink
fix: remove errorCategory for braze dedup error
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Sankeerth <[email protected]>
  • Loading branch information
Sai Sankeerth committed Nov 23, 2023
1 parent 5c63d2c commit bf1f4ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/v0/util/errorTypes/filteredEventsError.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
const tags = require('../tags');
const { BaseError } = require('./base');
const { HTTP_STATUS_CODES } = require('../constant');

class FilteredEventsError extends BaseError {
constructor(message, statusCode = HTTP_STATUS_CODES.FILTER_EVENTS) {
const finalStatTags = {
[tags.TAG_NAMES.ERROR_CATEGORY]: tags.ERROR_CATEGORIES.TRANSFORMATION,
};
super(message, statusCode, finalStatTags);
super(message, statusCode);
}
}

Expand Down

0 comments on commit bf1f4ec

Please sign in to comment.