mirror of
https://github.com/bitwarden/cli
synced 2025-12-16 00:03:23 +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 {
|
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);
|
const res = new MessageResponse('Syncing complete.', null);
|
||||||
return Response.success(res);
|
return Response.success(res);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return Response.error(e);
|
return Response.error('Syncing failed: ' + e.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user