diff --git a/Applications/ChanViewer/ThreadCatalogModel.cpp b/Applications/ChanViewer/ThreadCatalogModel.cpp index e3245b571e..328a3f8e98 100644 --- a/Applications/ChanViewer/ThreadCatalogModel.cpp +++ b/Applications/ChanViewer/ThreadCatalogModel.cpp @@ -26,8 +26,12 @@ void ThreadCatalogModel::update() job->on_finish = [job, this](bool success) { auto* response = job->response(); - dbg() << "job finished! success=" << success << ", response=" << response; - dbg() << "payload size: " << response->payload().size(); + dbg() << "Catalog download finished, success=" << success << ", response=" << response; + + if (!success) + return; + + dbg() << "Catalog payload size: " << response->payload().size(); auto json = JsonValue::from_string(response->payload());