Open chazuttu opened 3 years ago
I think this code can fix it
def ParamGetTiposPaises():
try:
res = some_function_that_returns_dictionary()
tipos_paises = res.get("ResultGet", [])
for p in tipos_paises:
pass
return tipos_paises
except Exception as e:
print(f"An error occurred: {e}")
return []
I think this code can fix it
def ParamGetTiposPaises(): try: res = some_function_that_returns_dictionary() tipos_paises = res.get("ResultGet", []) for p in tipos_paises: pass return tipos_paises except Exception as e: print(f"An error occurred: {e}") return []
On execution the command in the main branch:
$ wsfev1 --parametros
the following output is received:
on checking the return value ret, we find:
ret------ {'FEParamGetTiposPaisesResult': {'Errors': [{'Err': {'Code': 501, 'Msg': 'Error interno de base de datos: - Metodo
This seems to be an internal error, causing the failure for Tipos se Paises parameter.