Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of non-existing inputs and other extractor errors
spec._extractor() raises ExtractorError if and when an error occurs and not an InvalidSpec, so handle this exception in the except clause. This ensures that we give the expected error instead of a full backtrace when specifying a non-existing file, for example.
- Loading branch information