Add error message to send resultados so TNS errors are visible in response
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
63fcbe3611
commit
fbdce1c790
@@ -173,7 +173,7 @@ async def send_transaccion(
|
|||||||
total_errores += 1
|
total_errores += 1
|
||||||
|
|
||||||
fact = str(grupo_rows[0].get("NUM_FACTURA", id_recepcion))
|
fact = str(grupo_rows[0].get("NUM_FACTURA", id_recepcion))
|
||||||
resultados.append({"factura": fact, "success": status_ok})
|
resultados.append({"factura": fact, "success": status_ok, "msg": response_text})
|
||||||
|
|
||||||
conn = get_connection()
|
conn = get_connection()
|
||||||
conn.execute("""
|
conn.execute("""
|
||||||
|
|||||||
Reference in New Issue
Block a user