From 7b9f509728eaf7516d590e3c35a89aac4c370c14 Mon Sep 17 00:00:00 2001 From: Vibe Nuage Agent Date: Thu, 4 Jun 2026 15:32:44 +0000 Subject: [PATCH] fix: Remove undefined error reference in fetchWithProxy catch block - Fix reference to undefined 'error' variable in proxy error handler - Use only proxyError.message in the error message Co-authored-by: trevor1969 --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 3bfeaf7..9c23212 100644 --- a/app.js +++ b/app.js @@ -75,7 +75,7 @@ class NextcloudStorage { } catch (proxyError) { this.useProxy = false; console.error('Proxy connection also failed:', proxyError); - throw new Error(`Both direct and proxy connections failed: ${error.message || ''} ${proxyError.message || ''}`); + throw new Error(`Both direct and proxy connections failed: ${proxyError.message || ''}`); } }