Update cli/commands/init.py
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
0430c0de00
commit
4c7ce9ce32
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ def init(
|
||||||
if resp.status_code == 401:
|
if resp.status_code == 401:
|
||||||
typer.echo(render_error(401, {"detail": {
|
typer.echo(render_error(401, {"detail": {
|
||||||
"kind": "auth_failed",
|
"kind": "auth_failed",
|
||||||
"hint": f"Token expired or invalid — get a fresh one at {server_url}/setup?role=analyst",
|
"hint": f"Token expired or invalid — get a fresh one at {server_url}/setup",
|
||||||
}}), err=True)
|
}}), err=True)
|
||||||
raise typer.Exit(1)
|
raise typer.Exit(1)
|
||||||
resp.raise_for_status()
|
resp.raise_for_status()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue