Browse Source

[FIX][11.0] Make debugger record a debug message instead of error when importing validate_email in partner_email_check

12.0
Nikos Tsirintanis 5 years ago
committed by Abraham Anes
parent
commit
3e5af3f8ba
No known key found for this signature in database GPG Key ID: 1865EBA8F25B5188
  1. 2
      partner_email_check/models/res_partner.py

2
partner_email_check/models/res_partner.py

@ -10,7 +10,7 @@ _logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.error('Cannot import "validate_email".')
_logger.debug('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(

Loading…
Cancel
Save