We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24d024b commit 3e2bdcfCopy full SHA for 3e2bdcf
l10n_ar_afipws/models/afipws_connection.py
@@ -158,7 +158,7 @@ def connect(self):
158
try:
159
ws.Conectar("", wsdl or "", "")
160
except Exception as error:
161
- if 'xml.parsers.expat.ExpatError: mismatched tag' in repr(error) or \
+ if 'ExpatError' in repr(error) or 'mismatched tag' in repr(error) or \
162
'Conexión reinicializada por la máquina remota' in repr(error) or \
163
"module 'httplib2' has no attribute 'SSLHandshakeError'" in repr(error):
164
action = self.env.ref('l10n_ar_afipws.action_afip_padron')
0 commit comments