more debug

This commit is contained in:
Kenneth Kehl
2024-07-01 10:53:21 -07:00
parent 889d7ae4eb
commit 0c097c6592
2 changed files with 7 additions and 1 deletions

View File

@@ -972,7 +972,12 @@ def send_notification(service_id, template_id):
# the csv filename and the job id. The user will give us the file name,
# so we can search on that to obtain the job id, which we can use elsewhere
# on the API side to find out what happens to the message.
current_app.logger.info(hilite(f"One-off file: {filename} job_id: {upload_id}"))
current_app.logger.info(
hilite(
f"One-off file: {filename} job_id: {upload_id} s3 location: service-{service_id}-notify/{upload_id}.csv"
)
)
form = CsvUploadForm()
form.file.data = my_data
form.file.name = filename