aboutsummaryrefslogtreecommitdiff
path: root/modules/core/core-bundle.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/core-bundle.js')
-rw-r--r--modules/core/core-bundle.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/core/core-bundle.js b/modules/core/core-bundle.js
index b070e65..07609e3 100644
--- a/modules/core/core-bundle.js
+++ b/modules/core/core-bundle.js
@@ -4553,6 +4553,9 @@ Only output XML function calls for tool tasks. If no tool is needed, answer norm
}
return; }
catch (err) {
+ // v4.6.134: `silent` errors are control flow, not failures — `test`/`[`
+ // reject to tell `&&`/`||` to skip, and must print nothing (POSIX).
+ if (err && err.silent) return;
this.print(`Error in ${modName}.${cmd}: ${err.message}`, 'error');
console.error(`[Terminal] Error in ${modName}.${cmd}:`, err);
return;