diff --git a/src/askem_beaker/contexts/model_configuration/context.py b/src/askem_beaker/contexts/model_configuration/context.py index fbe165c..82cf293 100644 --- a/src/askem_beaker/contexts/model_configuration/context.py +++ b/src/askem_beaker/contexts/model_configuration/context.py @@ -120,13 +120,10 @@ async def load_config(self): await self.execute(command) async def post_execute(self, message): - try: - content = (await self.evaluate(self.get_code("get_config")))["return"] - self.beaker_kernel.send_response( - "iopub", "model_configuration_preview", content, parent_header=message.parent_header - ) - except Exception as e: - raise + content = (await self.evaluate(self.get_code("get_config")))["return"] + self.beaker_kernel.send_response( + "iopub", "model_configuration_preview", content, parent_header=message.parent_header + ) @intercept() async def save_model_config_request(self, message):