Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snap Audiences] Add error tracking for create audience #2565

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

tcgilbert
Copy link
Contributor

Adding error tracking to trouble shoot audience creation per our discussion @joe-ayoub-segment

Testing

  • tested locally

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 6 lines in your changes missing coverage. Please review.

Project coverage is 78.39%. Comparing base (1f3ace8) to head (8e014cd).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
...n-actions/src/destinations/snap-audiences/index.ts 66.66% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2565      +/-   ##
==========================================
- Coverage   78.40%   78.39%   -0.02%     
==========================================
  Files        1012     1012              
  Lines       17795    17805      +10     
  Branches     3354     3354              
==========================================
+ Hits        13953    13958       +5     
- Misses       2720     2723       +3     
- Partials     1122     1124       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tcgilbert tcgilbert marked this pull request as ready for review November 5, 2024 12:47
@tcgilbert tcgilbert requested a review from a team as a code owner November 5, 2024 12:47
return { externalId: snapAudienceId }
} catch (error) {
// Error response
await sendToSegment(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the linter might be complaining about error.response.data

image

@joe-ayoub-segment joe-ayoub-segment merged commit 9c00055 into main Nov 12, 2024
13 of 15 checks passed
@joe-ayoub-segment joe-ayoub-segment deleted the thomas/snap-audiences-errors branch November 12, 2024 10:55
@joe-ayoub-segment
Copy link
Contributor

PR deployed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants