Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback when running launchable record tests maven --help #554

Open
basil opened this issue Mar 31, 2023 · 1 comment
Open

Traceback when running launchable record tests maven --help #554

basil opened this issue Mar 31, 2023 · 1 comment

Comments

@basil
Copy link
Contributor

basil commented Mar 31, 2023

Steps to reproduce

Run launchable record tests maven --help.

Expected results

Detailed usage information, no traceback, and an exit status of 0.

Actual results

No detailed usage information, a traceback, and an exit status of 0 (!) despite the traceback.

$ launchable record tests maven --help
Traceback (most recent call last):
  File "lib/python3.10/site-packages/launchable/commands/record/tests.py", line 200, in tests
    session_id = str(find_or_create_session(
  File "lib/python3.10/site-packages/launchable/commands/helper.py", line 54, in find_or_create_session
    raise click.UsageError(
click.exceptions.UsageError: No saved build name found.
To fix this, run `launchable record build`.
If you already ran this command on a different machine, use the --session option. See https://docs.launchableinc.com/sending-data-to-launchable/managing-complex-test-session-layouts
Usage: launchable record tests maven [OPTIONS] SOURCE_ROOTS...

Options:
  --help  Show this message and exit.
$ echo $?
0
@Konboi
Copy link
Contributor

Konboi commented Apr 3, 2023

Thank you for your report, we'll check it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants