debug: log URL em runtime para diagnosticar timeout
This commit is contained in:
parent
06fe8af1fb
commit
d971d07327
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue