@ateam-ai/mcp 0.3.33 → 0.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tools.js +7 -1
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -1643,7 +1643,13 @@ const handlers = {
|
|
|
1643
1643
|
phases.push({ phase: "deploy", status: job.status });
|
|
1644
1644
|
break;
|
|
1645
1645
|
}
|
|
1646
|
-
} catch {
|
|
1646
|
+
} catch (err) {
|
|
1647
|
+
// #4 Silent-catch audit: poll errors are usually transient
|
|
1648
|
+
// (network blip, restart). Logging at debug level so they
|
|
1649
|
+
// don't drown the console but ARE visible if you bump the
|
|
1650
|
+
// log level after a stuck deploy.
|
|
1651
|
+
if (process.env.MCP_DEBUG_POLLS) console.warn(`[ateam_build_and_run] poll ${jobId} error (will retry): ${err.message}`);
|
|
1652
|
+
}
|
|
1647
1653
|
}
|
|
1648
1654
|
if (!deploy) {
|
|
1649
1655
|
return { ok: false, phase: "deployment", phases, error: "Async deploy timed out after 10 minutes", validation_warnings: validation.warnings || [],
|