mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
- Add more RSS and tracker debug
This commit is contained in:
parent
ab36a358b7
commit
dedd9bd03c
2 changed files with 6 additions and 3 deletions
|
@ -665,8 +665,11 @@ short RssStream::openRss(){
|
|||
}
|
||||
return -1;
|
||||
}
|
||||
if(!doc.setContent(&fileRss)) {
|
||||
qDebug("can't read temp file, might be empty");
|
||||
QString error_msg = "";
|
||||
int line=-1;
|
||||
int col = -1;
|
||||
if(!doc.setContent(&fileRss, &error_msg, &line, &col)) {
|
||||
qDebug("Error when parsing XML at line %d (col: %d): %s", line, col, error_msg.toLocal8Bit().data());
|
||||
fileRss.close();
|
||||
if(QFile::exists(filePath)) {
|
||||
fileRss.remove();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue