This commit is contained in:
Daniel Beckwith 2017-12-14 23:17:00 +00:00 committed by GitHub
commit 937d42f353
1 changed files with 1 additions and 1 deletions

View File

@ -1436,7 +1436,7 @@ def shell():
speedtest.get_servers(servers)
except NoMatchedServers:
raise SpeedtestCLIError('No matched servers: %s' % args.server)
except (ServersRetrievalError, HTTP_ERRORS):
except (ServersRetrievalError,) + HTTP_ERRORS:
print_('Cannot retrieve speedtest server list')
raise SpeedtestCLIError(get_exception())
except InvalidServerIDType: