copilot-api-plus 1.2.44 → 1.2.45
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/dist/main.js +4 -1
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2169,7 +2169,10 @@ async function createWithMultiAccount(payload) {
|
|
|
2169
2169
|
});
|
|
2170
2170
|
if (retryResult) return retryResult;
|
|
2171
2171
|
if (error.__nonAccountError) throw error;
|
|
2172
|
-
} else
|
|
2172
|
+
} else {
|
|
2173
|
+
const errMsg = error.message || String(error);
|
|
2174
|
+
consola.warn(`Account ${account.label}: transient network error: ${errMsg}`);
|
|
2175
|
+
}
|
|
2173
2176
|
consola.warn(`Account ${account.label} failed (attempt ${attempt + 1}), trying next...`);
|
|
2174
2177
|
}
|
|
2175
2178
|
}
|