diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-01-07 19:06:49 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-01-09 14:27:42 -0300 |
commit | f4a0747e216fb651628490f7849d2e4c9c6d8092 (patch) | |
tree | 622384d3b6c0845321735d1a3d172ce0dd414780 /src/leap/bitmask/provider/providerbootstrapper.py | |
parent | fc0663054c4f76c1103291c334bb60c0dff1280b (diff) |
Warn the user on incompatible api error.
- Add a proper signal for the incompatible api error.
- Warn the user of an incompatible api.
Diffstat (limited to 'src/leap/bitmask/provider/providerbootstrapper.py')
-rw-r--r-- | src/leap/bitmask/provider/providerbootstrapper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/provider/providerbootstrapper.py b/src/leap/bitmask/provider/providerbootstrapper.py index e00dd646..52ebacd2 100644 --- a/src/leap/bitmask/provider/providerbootstrapper.py +++ b/src/leap/bitmask/provider/providerbootstrapper.py @@ -227,8 +227,7 @@ class ProviderBootstrapper(AbstractBootstrapper): 'Found: {1}.').format(api_supported, api_version) logger.error(error) - self._signaler.signal( - self._signaler.PROV_PROBLEM_WITH_PROVIDER_KEY) + self._signaler.signal(self._signaler.PROV_UNSUPPORTED_API) raise UnsupportedProviderAPI(error) def run_provider_select_checks(self, domain, download_if_needed=False): |