Skip to content

Commit

Permalink
fix: remove errorCategory for braze dedup error (#2850)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpj2292 authored Nov 29, 2023
1 parent cd9a046 commit 91d4cd1
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 91d4cd1

Please sign in to comment.