fix(calendar): add error handling for outbound Google Calendar sync#10696
Merged
ArtyomSavchenko merged 1 commit intohcengineering:developfrom Mar 27, 2026
Conversation
Add proper error handling to prevent silent failures when syncing events to Google Calendar: - Add .catch() handler in main.ts webhook to log sync failures - Add try/catch in create() method to log Google API insert errors - Improve error handling in remove() method to log get/delete errors Fixes hcengineering#10535
|
Connected to Huly®: UBERF-16111 |
Member
|
@cyphercodes Could you please change target branch to develop? |
Contributor
Author
|
@ArtyomSavchenko Done! Changed target branch to |
ArtyomSavchenko
approved these changes
Mar 27, 2026
Member
|
@cyphercodes The changes look good to me. |
haiodo
pushed a commit
to haiodo/foundation
that referenced
this pull request
Mar 28, 2026
…cengineering#10696) Add proper error handling to prevent silent failures when syncing events to Google Calendar: - Add .catch() handler in main.ts webhook to log sync failures - Add try/catch in create() method to log Google API insert errors - Improve error handling in remove() method to log get/delete errors Fixes hcengineering#10535 Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add proper error handling to prevent silent failures when syncing events to Google Calendar.
Problem
As described in #10535, outbound sync from Huly to Google Calendar was failing silently due to:
Changes
Testing
These changes ensure that:
Fixes #10535