mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-23 19:25:37 -05:00
Better debug messages for WSPR spotting issues
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6460 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
9e55d08eb6
commit
dc69144396
@ -5016,9 +5016,10 @@ void MainWindow::uploadResponse(QString response)
|
||||
{
|
||||
if (response == "done") {
|
||||
m_uploading=false;
|
||||
} else if (response == "Upload Failed") {
|
||||
m_uploading=false;
|
||||
} else {
|
||||
if (response.startsWith ("Upload Failed")) {
|
||||
m_uploading=false;
|
||||
}
|
||||
qDebug () << "WSPRnet.org status:" << response;
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ void WSPRNet::networkReply(QNetworkReply *reply)
|
||||
QString serverResponse = reply->readAll();
|
||||
if( m_uploadType == 2) {
|
||||
if (!serverResponse.contains(QRegExp("spot\\(s\\) added"))) {
|
||||
emit uploadStatus("Upload Failed");
|
||||
emit uploadStatus(QString {"Upload Failed: %1"}.arg (serverResponse));
|
||||
urlQueue.clear();
|
||||
uploadTimer->stop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user