diff --git a/cid/helpers/quicksight/__init__.py b/cid/helpers/quicksight/__init__.py index 398627d5..848d7671 100644 --- a/cid/helpers/quicksight/__init__.py +++ b/cid/helpers/quicksight/__init__.py @@ -1051,7 +1051,7 @@ def get_dataset_refresh_schedules(self, dataset_id): except self.client.exceptions.ResourceNotFoundException as exc: raise CidError(f'DataSet {dataset_id} does not exist') from exc except self.client.exceptions.AccessDeniedException as exc: - raise CidError(f'AccessDenied when reading refresh schedule for {dataset_id}') from exc + raise CidError(f'AccessDenied') from exc except Exception as exc: raise CidError(f'Unable to list refresh schedules for dataset {dataset_id}: {str(exc)}') from exc