diff --git a/platformio/package/vcsclient.py b/platformio/package/vcsclient.py index 058a4983..c10235c7 100644 --- a/platformio/package/vcsclient.py +++ b/platformio/package/vcsclient.py @@ -18,14 +18,10 @@ import subprocess from urllib.parse import urlparse from platformio import proc -from platformio.package.exception import ( - PackageException, - PlatformioException, - UserSideException, -) +from platformio.package.exception import PlatformioException, UserSideException -class VCSBaseException(PackageException): +class VCSBaseException(UserSideException): pass @@ -75,7 +71,7 @@ class VCSClientBase: else: assert self.run_cmd(["--version"]) except (AssertionError, OSError, PlatformioException) as exc: - raise UserSideException( + raise VCSBaseException( "VCS: `%s` client is not installed in your system" % self.command ) from exc return True