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

[TVMC] Treat invalid FILE arguments #9213

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Commits on Oct 6, 2021

  1. [TVMC] Treat invalid FILE arguments

    Currently if an invalid FILE argument is passed to 'tvmc run' the user
    will catch a traceback because exceptions are not treated, for instance:
    $ tvmc run /tmp/nonexistingfile will throw a FileNotFoundError trace.
    
    This commit catches the possible exceptions that can happen when an
    invalid FILE argument is used and convert them to better messages for
    the user so the invalid FILE can be easily spotted.
    
    Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
    gromero committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    41998b9 View commit details
    Browse the repository at this point in the history