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 || ''}`); } }