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:
2026-02-03 12:03:48 +03:00
parent a011af7368
commit 2f3dc72dcc

View File

@@ -922,6 +922,13 @@ function updateMoveProgressFromStats(stats) {
RCLONE_REMOTE_PATH ? `${RCLONE_REMOTE_PATH}/${relRoot}` : null
];
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);
}
}