diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/bondallocation_email.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/bondallocation_email.py b/python/bondallocation_email.py index 92b40551..b698753d 100644 --- a/python/bondallocation_email.py +++ b/python/bondallocation_email.py @@ -69,7 +69,7 @@ if __name__ == "__main__": subject=subject, to_recipients=row.allocation_contacts if row.allocation_contacts - else ("fyu@lmcg.com",), + else raise NoContacts(f'There are no contacts for {row.trade_date} - {row.counterparty}'), cc_recipients=cc_recipients, reply_to=("NYOps@lmcg.com",), body=HTMLBody(body), |
