chore(rclone): mailru transfer eşleşme debug logu ekle
MailRu yüklemelerinde transfer eşleşmesi bulunamadığında sorunun teşhisi için job ve transfer detaylarını içeren uyarı logu eklendi.
This commit is contained in:
@@ -922,6 +922,13 @@ function updateMoveProgressFromStats(stats) {
|
|||||||
RCLONE_REMOTE_PATH ? `${RCLONE_REMOTE_PATH}/${relRoot}` : null
|
RCLONE_REMOTE_PATH ? `${RCLONE_REMOTE_PATH}/${relRoot}` : null
|
||||||
];
|
];
|
||||||
if (relRoot) {
|
if (relRoot) {
|
||||||
|
// Debug: MailRu transfer eşleşmesi
|
||||||
|
const matched = transfers.filter((t) =>
|
||||||
|
prefixes.filter(Boolean).some((p) => String(t.name || "").includes(p))
|
||||||
|
);
|
||||||
|
if (job.moveStatus === "uploading" && matched.length === 0) {
|
||||||
|
console.log(`⚠️ MailRu transfer eşleşme yok: job=${job.fileName}, relRoot=${relRoot}, prefixes=${JSON.stringify(prefixes)}, transfers=${transfers.map(t => t.name).join(",")}`);
|
||||||
|
}
|
||||||
applyProgress(job, prefixes, relRoot);
|
applyProgress(job, prefixes, relRoot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user