From 42ba414c5f34f292d90d1fed012b04c8afe77c78 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Tue, 12 Jan 2021 17:35:59 +0000 Subject: [PATCH] Log adaptive error --- distributed/deploy/adaptive_core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distributed/deploy/adaptive_core.py b/distributed/deploy/adaptive_core.py index b15aa496345..b74e013c947 100644 --- a/distributed/deploy/adaptive_core.py +++ b/distributed/deploy/adaptive_core.py @@ -201,7 +201,8 @@ async def adapt(self) -> None: await self.scale_up(**recommendations) if status == "down": await self.scale_down(**recommendations) - except OSError: + except OSError as e: + logger.error("Adaptive stopping due to error %s", str(e)) self.stop() finally: self._adapting = False