Skip to content

Commit

Permalink
fix: bugsnag issue for braze
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouti1507 committed Aug 20, 2024
1 parent 5bae268 commit d5ab05a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/v0/destinations/braze/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ const BrazeDedupUtility = {
* @returns {Object | undefined} user object from the store
*/
getUserDataFromStore(store, identifier) {
if (!store) {
return undefined;

Check warning on line 250 in src/v0/destinations/braze/util.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/braze/util.js#L250

Added line #L250 was not covered by tests
}
return store.get(identifier);
},

Expand Down

0 comments on commit d5ab05a

Please sign in to comment.