1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-22 19:23:24 +00:00
Files
jslib/src
Fredrik Ekre adcc618b42 sync: move try-catch out of needsSyncing and handle errors it in fullSync (#207)
The motivation for this is https://github.com/bitwarden/cli/issues/129
where failed sync's are swallowed by try-catch. By moving the try-catch
to the outside it is possible to reuse the already existing
allowThrowOnError argument which callers can use to signal whether
fullSync should throw or ignore errors silently. This patch is
companioned with a patch to the SyncCommand CLI command to pass
allowThrowOnError.
2020-11-23 12:09:09 -05:00
..
2020-11-02 15:58:18 -05:00
2020-11-02 15:58:18 -05:00