mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-15 21:00:34 +00:00
Remove redundant upload success log
Eliminated a logger statement that logged successful uploads in the NTQQWebApi class. This reduces unnecessary log output during chunked uploads.
This commit is contained in:
parent
74a1011fcc
commit
ecd7012eee
@ -402,7 +402,6 @@ export class NTQQWebApi {
|
|||||||
const post = await response.json() as { ret: number, msg: string }; if (post.ret !== 0) {
|
const post = await response.json() as { ret: number, msg: string }; if (post.ret !== 0) {
|
||||||
throw new Error(`分片 ${seq} 上传失败: ${post.msg}`);
|
throw new Error(`分片 ${seq} 上传失败: ${post.msg}`);
|
||||||
}
|
}
|
||||||
this.context.logger.log(`上传 ${api} 成功`);
|
|
||||||
offset += chunk.length;
|
offset += chunk.length;
|
||||||
seq++;
|
seq++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user