We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89592b0 commit 2e2b641Copy full SHA for 2e2b641
src/workbench/core/cloud_platform/aws/aws_account_clamp.py
@@ -113,10 +113,10 @@ def check_workbench_bucket(self) -> bool:
113
self.log.info(f"The {self.workbench_bucket_name} bucket exists and is accessible")
114
return True
115
except ClientError as e:
116
- error_code = e.response['Error']['Code']
117
- if error_code == '404':
+ error_code = e.response["Error"]["Code"]
+ if error_code == "404":
118
self.log.critical(f"The {self.workbench_bucket_name} bucket does not exist")
119
- elif error_code == '403':
+ elif error_code == "403":
120
self.log.critical(f"Access denied to {self.workbench_bucket_name} bucket")
121
else:
122
self.log.error(f"Error checking S3 bucket: {e}")
0 commit comments