mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
add comment
This commit is contained in:
@@ -75,6 +75,8 @@ def generate_notifications_csv(**kwargs):
|
|||||||
# This generates the "batch" csv report
|
# This generates the "batch" csv report
|
||||||
if kwargs.get("job_id"):
|
if kwargs.get("job_id"):
|
||||||
# The kwargs contain the job id, which is linked to the recipient's partial phone number in other debug
|
# The kwargs contain the job id, which is linked to the recipient's partial phone number in other debug
|
||||||
|
# Some unit tests are mocking the kwargs and turning them into a function instead of dict,
|
||||||
|
# hence the try/except.
|
||||||
try:
|
try:
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
hilite(f"Setting up report with kwargs {scrub(json.dumps(kwargs))}")
|
hilite(f"Setting up report with kwargs {scrub(json.dumps(kwargs))}")
|
||||||
|
|||||||
Reference in New Issue
Block a user