debug: log URL em runtime para diagnosticar timeout

This commit is contained in:
Jonas Pacheco 2026-04-03 18:07:33 -03:00
parent 06fe8af1fb
commit d971d07327
1 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,9 @@ async function checkServiceHealth(engineName: string): Promise<EngineStatus> {
const serviceUrl = getServiceUrl(engineName); const serviceUrl = getServiceUrl(engineName);
const kernelId = ENGINE_TO_KERNEL_ID[engineName]; const kernelId = ENGINE_TO_KERNEL_ID[engineName];
// DEBUG: Log da URL sendo usada
console.log(`[DEBUG] checkServiceHealth(${engineName}) => URL: ${serviceUrl}, env: ${process.env.CONTABIL_PYTHON_URL || 'N/A'}`);
if (!config || !serviceUrl) { if (!config || !serviceUrl) {
return { return {
name: engineName, name: engineName,