Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Except 'NotFound' error if FROM image DNE
Currently when running Tern with a Dockerfile, if the FROM 'image:tag' does not exist, there is a long Traceback output. This commit adds the 'docker.errors.NotFound: 404 Client Error' error as an exception in the pull_image() function in tern/analyze/docker/container.py so that Tern fails more gracefully while still reporting the error. Resolves #610 Signed-off-by: Rose Judge <rjudge@vmware.com>
- Loading branch information