From 16c27a8cd785e785c480617e544fa2be16523213 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 05:26:21 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A0=EF=B8=8F=20Handle=20SFTP=20errors=20w?= =?UTF-8?q?ithout=20capturing=20the=20error=20object=20in=20deploy=20scrip?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/utils/deploy-pokedex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/utils/deploy-pokedex.js b/code/utils/deploy-pokedex.js index 61f4416..0032b6f 100644 --- a/code/utils/deploy-pokedex.js +++ b/code/utils/deploy-pokedex.js @@ -358,7 +358,7 @@ async function deploy() { try { await ssh.putFile(file.local, file.remote); console.log(` ✅ ${path.basename(file.local)}`); - } catch (error) { + } catch () { // If SFTP fails, fall back to cat method console.log( ` ⚠️ SFTP failed for ${path.basename(file.local)}, using cat fallback...`