skip stderr parsing when list bitwarden items (#4090)

This commit is contained in:
LawyZheng
2025-11-26 01:38:10 +08:00
committed by GitHub
parent 85fe9d69a5
commit c132c53f05

View File

@@ -317,9 +317,6 @@ class BitwardenService:
raise BitwardenListItemsError("No collection ID or organization ID provided -- this is required")
items_result = await BitwardenService.run_command(list_command, timeout=timeout)
if items_result.stderr and "Event post failed" not in items_result.stderr:
raise BitwardenListItemsError(items_result.stderr)
# Parse the items and extract credentials
try:
items = json.loads(items_result.stdout)