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; }