mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
Update src/registrar/views/portfolios.py
Co-authored-by: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
This commit is contained in:
parent
52937710df
commit
2c2f1ab830
1 changed files with 2 additions and 2 deletions
|
@ -561,8 +561,8 @@ class NewMemberView(PortfolioMembersPermissionView, FormMixin):
|
||||||
# it has been sent but not accepted
|
# it has been sent but not accepted
|
||||||
messages.warning(self.request, f"{email} has already been invited to this portfolio")
|
messages.warning(self.request, f"{email} has already been invited to this portfolio")
|
||||||
return
|
return
|
||||||
except Exception:
|
except Exception as err:
|
||||||
logger.error("An error occured")
|
logger.error(f"_send_portfolio_invitation_email() => An error occured: {err}")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
logger.debug("requestor email: " + requestor_email)
|
logger.debug("requestor email: " + requestor_email)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue