mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
Log save_resume_data_failed_alert
This commit is contained in:
parent
4e87aebf55
commit
7d860b6c24
@ -1725,10 +1725,14 @@ void TorrentHandle::handleSaveResumeDataFailedAlert(const lt::save_resume_data_f
|
||||
{
|
||||
// if torrent has no metadata we should save dummy fastresume data
|
||||
// containing Magnet URI and qBittorrent own resume data only
|
||||
if (p->error.value() == lt::errors::no_metadata)
|
||||
if (p->error.value() == lt::errors::no_metadata) {
|
||||
handleSaveResumeDataAlert(nullptr);
|
||||
else
|
||||
}
|
||||
else {
|
||||
LogMsg(tr("Save resume data failed. Torrent: \"%1\", error: \"%2\"")
|
||||
.arg(name(), QString::fromStdString(p->error.message())), Log::CRITICAL);
|
||||
m_session->handleTorrentResumeDataFailed(this);
|
||||
}
|
||||
}
|
||||
|
||||
void TorrentHandle::handleFastResumeRejectedAlert(const lt::fastresume_rejected_alert *p)
|
||||
|
Loading…
x
Reference in New Issue
Block a user