You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-12-01 22:41:53 +02:00
Catching only ValueError
Co-Authored-By: ionutfilip <ionut.philip@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ class IdnaEmail(db.TypeDecorator):
|
||||
localpart,
|
||||
idna.encode(domain_name).decode('ascii'),
|
||||
)
|
||||
except:
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
def process_result_value(self, value, dialect):
|
||||
|
||||
Reference in New Issue
Block a user