Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TVMC] Treat invalid FILE arguments (apache#9213)
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>
- Loading branch information