Skip to content

Commit 2c4837b

Browse files
authored
Raising proper error when checking CUR enablement (#464)
1 parent 7e1b197 commit 2c4837b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cid/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def cur(self) -> CUR:
116116
print('Checking if CUR is enabled and available...')
117117

118118
if not _cur.configured:
119-
raise ClientError("Error: please ensure CUR is enabled, if yes allow it some time to propagate")
119+
raise CidCritical("Error: please ensure CUR is enabled, if yes allow it some time to propagate")
120120

121121
print(f'\tAthena table: {_cur.tableName}')
122122
print(f"\tResource IDs: {'yes' if _cur.hasResourceIDs else 'no'}")

0 commit comments

Comments
 (0)