Skip to content

Commit

Permalink
fixing exception style
Browse files Browse the repository at this point in the history
  • Loading branch information
sbenthall committed Jun 3, 2024
1 parent 3e6fda5 commit 4116dca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bigbang/analysis/influence.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def normalize_senders_by_domain(row):
else:
return parse.clean_from(row["From"])
except Exception as e:
print(e)
return parse.clean_from(row["From"])


Expand All @@ -56,7 +57,8 @@ def is_affiliation(domain):
return lookup_stakeholder_by_domain(domain)
else:
return "Unaffiliated"
except:
except Exception as e:
print(e)
return "Unaffiliated"


Expand Down

0 comments on commit 4116dca

Please sign in to comment.