-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COM-1135: Fix brevo error handling (#108)
## Description Fix import failing due to error in brevo handeling. The import was causing an error because of nested try catch blocks and adapting the brevo error message. Now the `findContact` function returns `undefined` if no brevo contact was fround instead of an error. ## Changeset [x ] I have verified if my change requires a changeset ## Related tasks and documents COM-1135 --------- Co-authored-by: Denise Buder <[email protected]>
- Loading branch information
1 parent
d865b3f
commit 3c5b342
Showing
5 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@comet/brevo-api": patch | ||
--- | ||
|
||
Fix brevo error handling error | ||
|
||
Fix brevo error handling causing contact import to fail if contact does not exists in brevo yet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters