Skip to content

Commit

Permalink
fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
Konboi committed Feb 28, 2023
1 parent 14c0b21 commit 4ba3dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launchable/commands/record/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ def add_session_name(
if res.status_code == HTTPStatus.NOT_FOUND:
click.echo(
click.style(
"Test session {} was not found. Record session may be failed.".format(session_id),
"Test session {} was not found. Record session may have failed.".format(session_id),
'yellow'),
err=True,
)
sys.exit(1)
if res.status_code == HTTPStatus.BAD_REQUEST:
click.echo(
click.style(
"You cannot use test session name {} since it is already used by other test session in your workspace."
"You cannot use test session name {} since it is already used by other test session in your workspace. The record session is completed successfully without session name." # noqa: E501
.format(session_name),
'yellow'),
err=True,)
Expand Down

0 comments on commit 4ba3dc9

Please sign in to comment.