mirror of
https://github.com/bitwarden/cli
synced 2025-12-15 15:53:44 +00:00
Merge pull request #190 from fredrikekre/fe/sync
SyncCommand: Pass allowThrowOnError to fullSync
This commit is contained in:
@@ -15,11 +15,11 @@ export class SyncCommand {
|
||||
}
|
||||
|
||||
try {
|
||||
const result = await this.syncService.fullSync(cmd.force || false);
|
||||
const result = await this.syncService.fullSync(cmd.force || false, true);
|
||||
const res = new MessageResponse('Syncing complete.', null);
|
||||
return Response.success(res);
|
||||
} catch (e) {
|
||||
return Response.error(e);
|
||||
return Response.error('Syncing failed: ' + e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user