pullpkg: also catch InvalidPullValueError

LP: #1908770
This commit is contained in:
Dan Streetman 2020-12-21 11:28:08 -05:00
parent 6c097233a9
commit b30df2b227

View File

@ -105,7 +105,8 @@ class PullPkg(object):
except KeyboardInterrupt:
Logger.info('User abort.')
except (PackageNotFoundException, SeriesNotFoundException,
PocketDoesNotExistError, InvalidDistroValueError) as e:
PocketDoesNotExistError, InvalidDistroValueError,
InvalidPullValueError) as e:
Logger.error(str(e))
sys.exit(errno.ENOENT)