diff --git a/website.cc b/website.cc index c10b181e..c523bfca 100644 --- a/website.cc +++ b/website.cc @@ -9,6 +9,7 @@ #include #include #include +#include "gddebug.hh" namespace WebSite { @@ -333,7 +334,17 @@ void WebSiteArticleRequest::requestFinished( QNetworkReply * r ) } else - setErrorString( netReply->errorString() ); + { + if( netReply->url().scheme() == "file" ) + { + gdWarning( "WebSites: Failed loading article from \"%s\", reason: %s\n", dictPtr->getName().c_str(), + netReply->errorString().toUtf8().data() ); + } + else + { + setErrorString( netReply->errorString() ); + } + } netReply->deleteLater();