Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle errors properly on Emails #827

Merged
merged 3 commits into from
May 4, 2021
Merged

Handle errors properly on Emails #827

merged 3 commits into from
May 4, 2021

Conversation

say-yawn
Copy link
Contributor

@say-yawn say-yawn commented May 4, 2021

About this PR

Fast follow to fix some dev tested errors on #808. Some fixes include:

  • adding helpful messages on the disabled button

Screen Shot 2021-05-04 at 14 23 36

  • making the errors be more helpful
  • formatting errors on the profile page (has been broken since this change)
    image (16)

@@ -262,7 +267,7 @@ def make_domain_address(user_profile, address=None, made_via_email=False):
)

address_contains_badword = False
if address is None:
if not address:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing not address because address value can be an empty string which would fail this check.

@say-yawn say-yawn requested a review from groovecoder May 4, 2021 20:42
@say-yawn
Copy link
Contributor Author

say-yawn commented May 4, 2021

Merge now. Fix later.

@say-yawn say-yawn merged commit 79e3fc2 into main May 4, 2021
@groovecoder groovecoder deleted the fast-follow-fix-for-808 branch May 6, 2021 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants