magpie-gemini-web 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/studio-native.mjs +1 -1
- package/package.json +1 -1
package/lib/studio-native.mjs
CHANGED
|
@@ -683,7 +683,7 @@ export function isConnectRefused(err) {
|
|
|
683
683
|
let current = err;
|
|
684
684
|
while (current && !visited.has(current)) {
|
|
685
685
|
visited.add(current);
|
|
686
|
-
if (current.code === 'ECONNREFUSED' || current.code === 'ENOENT') return true;
|
|
686
|
+
if (current.code === 'ECONNREFUSED' || current.code === 'ConnectionRefused' || current.code === 'ENOENT') return true;
|
|
687
687
|
if (Array.isArray(current.errors)) {
|
|
688
688
|
for (const sub of current.errors) {
|
|
689
689
|
if (isConnectRefused(sub)) return true;
|
package/package.json
CHANGED