Skip to content

Commit 2b7121f

Browse files
committed
fix: output invalid credentials error to stderr
1 parent ff4afcb commit 2b7121f

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
@@ -25,7 +25,7 @@ def serve(token, instance_name, backend_url, port):
2525
raise click.Abort
2626

2727
if not validate_credentials(token, backend_url, instance_name):
28-
click.echo("Error: Invalid credentials.")
28+
click.echo("Error: Invalid credentials.", err=True)
2929
raise click.Abort
3030

3131
# Set context data for the handler

0 commit comments

Comments
 (0)