Skip to content

fix(customerio destination): added fix for unhandled exception for pr… - #2226

Merged
sanpj2292 merged 4 commits into
developfrom
fix/customerio-bugsnag-error
Jun 5, 2023
Merged

sanpj2292 merged 4 commits into
developfrom
fix/customerio-bugsnag-error

Conversation

@Sanjay-Veernala

@Sanjay-Veernala Sanjay-Veernala commented May 31, 2023 •

Copy link
Copy Markdown
Contributor

…operties in customerio payload

Description of the change

  • Added optional chaining for url in properties for customerio transform as part of fixing bugsnag issue "] Cannot read property 'url' of undefined"

Description here

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@Sanjay-Veernala
Sanjay-Veernala requested a review from a team as a code owner May 31, 2023 19:42
@codecov

codecov Bot commented May 31, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (0ee7c73) 88.58% compared to head (2b294f0) 88.58%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2226   +/-   ##
========================================
  Coverage    88.58%   88.58%           
========================================
  Files          510      510           
  Lines        25867    25867           
  Branches      6380     6380           
========================================
  Hits         22915    22915           
  Misses        2637     2637           
  Partials       315      315           
Impacted Files Coverage Δ
src/v0/destinations/customerio/transform.js 87.17% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sanpj2292
sanpj2292 requested a review from a team as a code owner June 1, 2023 12:30
@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sanpj2292
sanpj2292 merged commit fde530f into develop Jun 5, 2023
@sanpj2292
sanpj2292 deleted the fix/customerio-bugsnag-error branch June 5, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants