From ab9840d3bca8f374b89c718c74b5511a02177450 Mon Sep 17 00:00:00 2001 From: Reinier Criel Date: Tue, 7 Apr 2026 14:58:52 -0700 Subject: [PATCH] Apply suggestion from @aikido-pr-checks[bot] Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com> --- packages/safe-chain/src/shell-integration/setup-ci.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/safe-chain/src/shell-integration/setup-ci.js b/packages/safe-chain/src/shell-integration/setup-ci.js index a0081fa..5a21c28 100644 --- a/packages/safe-chain/src/shell-integration/setup-ci.js +++ b/packages/safe-chain/src/shell-integration/setup-ci.js @@ -52,7 +52,9 @@ function cleanupLegacyShellInit() { let shells; try { shells = detectShells(); - } catch { + } catch (error) { + // Best-effort cleanup — skip if shell detection fails + console.warn("Failed to detect shells for legacy cleanup:", error); return; }