diff --git a/kernels-mixer/kernels_mixer/kernels.py b/kernels-mixer/kernels_mixer/kernels.py index ec9c57ee..5651bab9 100644 --- a/kernels-mixer/kernels_mixer/kernels.py +++ b/kernels-mixer/kernels_mixer/kernels.py @@ -50,7 +50,11 @@ def __init__(self, *args, **kwargs): kernel_spec_manager=self.kernel_spec_manager.remote_manager) def list_kernels(self): - run_sync(self.remote_manager.list_kernels)() + try: + run_sync(self.remote_manager.list_kernels)() + except Exception as ex: + self.log.exception('Failure listing remote kernels: %s', ex) + # Ignore the exception listing remote kernels, so that local kernels are still usable. return super().list_kernels() def kernel_model(self, kernel_id): diff --git a/kernels-mixer/setup.py b/kernels-mixer/setup.py index e4e9b6d4..32d94b60 100644 --- a/kernels-mixer/setup.py +++ b/kernels-mixer/setup.py @@ -18,7 +18,7 @@ setuptools.setup( name="kernels-mixer", - version="0.0.9", + version="0.0.10", author="Google, Inc.", description="Jupyter server extension that allows mixing local and remote kernels together", long_description=long_description,