Commit 21ecc46ea8ee42fb4525226906926c33e086b550
Committed by
Thiago Ribeiro
1 parent
23c9e6d3
Handling all expections in get mailman lists
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/accounts/utils/mailman.py
@@ -52,7 +52,7 @@ def address_lists(address, description=''): | @@ -52,7 +52,7 @@ def address_lists(address, description=''): | ||
52 | 52 | ||
53 | try: | 53 | try: |
54 | lists = requests.get(url, timeout=TIMEOUT, params=params) | 54 | lists = requests.get(url, timeout=TIMEOUT, params=params) |
55 | - except requests.exceptions.RequestException: | 55 | + except: |
56 | return [] | 56 | return [] |
57 | 57 | ||
58 | return lists.json() | 58 | return lists.json() |