diff --git a/python/lib/client/dmod/client/request_clients.py b/python/lib/client/dmod/client/request_clients.py index ffc051fab..213f86a93 100644 --- a/python/lib/client/dmod/client/request_clients.py +++ b/python/lib/client/dmod/client/request_clients.py @@ -792,7 +792,7 @@ async def get_dataset_state(self, dataset_name: str, **kwargs) -> DatasetManagem try: return await self._process_request(request=request) except DmodRuntimeError as e: - raise DmodRuntimeError(f"DMOD error when getting dataset state: {str(e)}") + raise DmodRuntimeError(f"DMOD error when getting dataset state: {str(e)}") from e async def list_datasets(self, category: Optional[DataCategory] = None, **kwargs) -> List[str]: """