forked from lastpass/lastpass-cli
-
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.
upload-queue: don't exit when first error is encountered
If we get a 4/500 error for some reason during a sync, the upload program will currently quit at the first opportunity. This can be annoying if doing a batch of updates, as syncs halt altogether. And we might get the error in the first place because we have a batch and hit some ratelimits. Introduce a version of http_post_lastpass_v that doesn't die() in such cases and use it. In a follow-up patch I'll tweak the timeouts a bit so we handle this somewhat more gracefully. Signed-off-by: Bob Copeland <[email protected]>
- Loading branch information
Bob Copeland
committed
Dec 31, 2015
1 parent
ed892c0
commit 285833a
Showing
3 changed files
with
29 additions
and
4 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
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