Don't error out if it is not possible to check for the latest current version.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-16 17:08:22 -04:00
parent 222037daa9
commit 238595e1bc
4 changed files with 21 additions and 9 deletions

View File

@@ -16,6 +16,12 @@ class NotLatestVersion(BaseCommonException):
self.upstream_version = upstream_version
class UnknownLatestVersion(BaseCommonException):
"""
It is not possible to determine what is the latest upstream version.
"""
class NPMException(BaseCommonException):
"""Base exception for the NPM registry client"""