Skip to content

Commit 578e3c9

Browse files
committed
fix: 修复异常抛错
1 parent 43d9704 commit 578e3c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cos-nodejs-sdk-v5",
3-
"version": "2.13.2",
3+
"version": "2.13.3",
44
"description": "cos nodejs sdk v5",
55
"main": "index.js",
66
"types": "index.d.ts",

sdk/advance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function sliceUploadFile(params, callback) {
2626
ep.on('error', function (err) {
2727
if (!self._isRunningTask(TaskId)) return;
2828
err.UploadId = params.UploadData.UploadId || '';
29-
return callback(_err);
29+
return callback(err);
3030
});
3131

3232
// 上传分块完成,开始 uploadSliceComplete 操作

0 commit comments

Comments
 (0)