Skip to content

Commit ee8d1a5

Browse files
committed
fix: return instead of raising click.Abort in serve
1 parent 34a829c commit ee8d1a5

File tree

1 file changed

+1
-1
lines changed
  • src/datapilot/core/knowledge

1 file changed

+1
-1
lines changed

src/datapilot/core/knowledge/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def serve(token, instance_name, backend_url, port):
2121
click.echo(
2222
"Error: API token and instance name are required. Use --token and --instance-name options or set them in config.", err=True
2323
)
24-
raise click.Abort()
24+
return
2525

2626
# Set context data for the handler
2727
KnowledgeBaseHandler.token = token

0 commit comments

Comments
 (0)