mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
fix errors
This commit is contained in:
@@ -36,7 +36,7 @@ export class CreateCommand {
|
||||
await this.cipherService.saveWithServer(cipher);
|
||||
return Response.success();
|
||||
} catch (e) {
|
||||
return Response.error(e.toString());
|
||||
return Response.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ export class CreateCommand {
|
||||
await this.folderService.saveWithServer(folder);
|
||||
return Response.success();
|
||||
} catch (e) {
|
||||
return Response.error(e.toString());
|
||||
return Response.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user