Skip to content

Commit

Permalink
Merge pull request #612 from oda-hub/matrix-logging-session-log
Browse files Browse the repository at this point in the history
Matrix logging session log
  • Loading branch information
burnout87 authored Oct 21, 2023
2 parents 78054d5 + 642f1db commit 7ce1cfc
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 102 deletions.
4 changes: 4 additions & 0 deletions cdci_data_analysis/analysis/email_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@ def is_email_to_send_run_query(logger, status, time_original_request, scratch_di
job_id=job_id,
additional_info_obj=log_additional_info_obj
)
else:
logger.info(f"an email will not be (status: {status}, sending_ok: {sending_ok})")
else:
logger.info(f'an email will not be sent because a token was not provided')

Expand Down Expand Up @@ -763,5 +765,7 @@ def is_email_to_send_callback(logger, status, time_original_request, scratch_dir
job_id=job_id,
additional_info_obj=log_additional_info_obj
)
else:
logger.info(f"an email will not be (status: {status}, sending_ok: {sending_ok})")

return sending_ok
Loading

0 comments on commit 7ce1cfc

Please sign in to comment.