Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Handle 410 errors by early-exiting sync
This commit ensures that if the sync token or timeMin value for a notebook is invalid, we immediately abort sync, and then clear the sync token stored in the notebook's custom property as well as update the syncDate to an appropriate value.
- Loading branch information
Chris Adams
committed
Jan 29, 2020
1 parent
039257d
commit fb592dd
Showing
1 changed file
with
35 additions
and
27 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