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 4ec22c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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,8 @@ 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 4ec22c0

Please sign in to comment.