diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 3f0ba8738..718b4d29a 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -30,7 +30,6 @@ #include "session.h" #include -#include #include #include #include @@ -2185,8 +2184,6 @@ void Session::generateResumeData(const bool final) // Called on exit void Session::saveResumeData() { - qDebug("Saving resume data..."); - // Pause session m_nativeSession->pause(); @@ -2197,7 +2194,8 @@ void Session::saveResumeData() while (m_numResumeData > 0) { const std::vector alerts = getPendingAlerts(lt::seconds(30)); if (alerts.empty()) { - fprintf(stderr, " aborting with %d outstanding torrents to save resume data for\n", m_numResumeData); + LogMsg(tr("Error: Aborted saving resume data for %1 outstanding torrents.").arg(QString::number(m_numResumeData)) + , Log::CRITICAL); break; }