We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df66597 commit b66ad32Copy full SHA for b66ad32
bin/index.js
@@ -58,7 +58,7 @@ const upload = async (filePath, parts = []) => {
58
} catch (error) {
59
logger.error(error.message);
60
logger.error(error.stack);
61
- if (['ECONNREFUSED', 'ECONNRESET', 'ENOENT'].includes(error.code)) {
+ if (['ECONNREFUSED', 'ECONNRESET', 'ENOENT', 'EPROTO'].includes(error.code)) {
62
// 没有重试过就重试一次
63
if (!isRetry) {
64
logger.warn('retry')
0 commit comments