Skip to content

Commit

Permalink
[ADD] log warning
Browse files Browse the repository at this point in the history
  • Loading branch information
corredato committed Jul 12, 2024
1 parent 0ee603e commit e7e5b2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/erpbrasil/edoc/resposta.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (C) 2018 - TODAY Luis Felipe Mileo - KMEE INFORMATICA LTDA
# License MIT

import logging
import re

from lxml import etree
Expand Down Expand Up @@ -37,6 +38,10 @@ def analisar_retorno_raw(operacao, raiz, xml, retorno, classe):
classe.Validate_simpletypes_ = False
resposta = classe.parseString(resultado, silence=True)
return RetornoSoap(operacao, raiz, xml, retorno, resposta)
else:
logging.warning(
"'match' em 'analisar_retorno_raw' é None"
)


def analisar_retorno(operacao, raiz, xml, retorno, classe):
Expand Down

0 comments on commit e7e5b2b

Please sign in to comment.