Skip to content

Commit 3b365a7

Browse files
iakov-awsIakov Gan
andauthored
better error message (#544)
Co-authored-by: Iakov Gan <[email protected]>
1 parent 985d514 commit 3b365a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cid/helpers/athena.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def WorkGroup(self, name: str):
151151
if _workgroup.get('State') == 'DISABLED':
152152
raise CidCritical(f'Athena Workgroup "{name}" is disabled.')
153153
if not _workgroup.get('Configuration', {}).get('ResultConfiguration', {}).get('OutputLocation'):
154-
raise CidCritical(f'Athena Workgroup "{name}" must have an output location s3 bucket configured in the region {self.region}.')
154+
raise CidCritical(f'Athena Workgroup "{name}" must have an output location s3 bucket configured in the region {self.region}. See https://{self.region}.console.aws.amazon.com/athena/home?#/workgroups .')
155155
self._WorkGroup = name
156156
logger.info(f'Selected Athena WorkGroup: "{self._WorkGroup}"')
157157

0 commit comments

Comments
 (0)