mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 08:09:51 -04:00
check bucket name
This commit is contained in:
@@ -34,7 +34,7 @@ def s3upload(service_id, filedata):
|
||||
service_id, upload_id
|
||||
)
|
||||
if bucket_name == "":
|
||||
raise Exception("NO BUCKET NAME")
|
||||
raise Exception(f"NO BUCKET NAME {current_app.config['CSV_UPLOAD_BUCKET']['bucket']}")
|
||||
|
||||
utils_s3upload(
|
||||
filedata=filedata["data"],
|
||||
|
||||
Reference in New Issue
Block a user