Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions hermes_cli/secrets_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,10 @@ def cmd_op_setup(args: argparse.Namespace) -> int:
ver = op.install_onepassword_sdk()
console.print(f" [green]βœ“[/green] Installed onepassword-sdk ({ver})")
except Exception as exc: # noqa: BLE001
console.print(f" [red]βœ— Could not install SDK: {exc}[/red]")
# Category only, not str(exc) β€” same convention as every other
# exception display in this module (see cmd_op_setup's Step 5
# comment below).
console.print(f" [red]βœ— Could not install SDK: {type(exc).__name__}[/red]")
console.print(
f" Manual install: [cyan]pip install '{op.OP_SDK_REQUIREMENT}'[/cyan]"
)
Expand Down Expand Up @@ -874,5 +877,7 @@ def cmd_op_install(args: argparse.Namespace) -> int:
console.print(f"[green]βœ“[/green] onepassword-sdk ({ver})")
return 0
except Exception as exc: # noqa: BLE001
console.print(f"[red]Install failed: {exc}[/red]")
# Category only, not str(exc) β€” same convention as cmd_op_setup's
# Step 1 above.
console.print(f"[red]Install failed: {type(exc).__name__}[/red]")
return 1
Loading