Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion deepsearch/cps/cli/data_indices_typer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def list(
for index in indices
]
except ValueError as e:
print(f"Error occurred: {e}")
raise RuntimeError("Could not parse index object") from e

cli_output(results, output, headers="keys")
return
Expand Down
4 changes: 2 additions & 2 deletions deepsearch/cps/cli/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def assign_user(
role=role,
)
else:
print("Project not found")
typer.echo("Project not found")
raise typer.Exit(code=1)


Expand All @@ -63,7 +63,7 @@ def remove(
if project is not None:
api.projects.remove(project=project)
else:
print("Project not found")
typer.echo("Project not found")
raise typer.Exit(code=1)


Expand Down