There was an error while loading. Please reload this page.
1 parent dea54e8 commit f3fbb81Copy full SHA for f3fbb81
1 file changed
nucleus/tile/Scheduler.cpp
@@ -192,6 +192,7 @@ void Scheduler::purge_ram_cache()
192
bool Scheduler::persist_tiles()
193
{
194
if (m_name == "unnamed" || m_name.isEmpty()) {
195
+ qWarning() << "Not persisting tiles because the scheduler is not named.";
196
return false;
197
}
198
const auto start = std::chrono::steady_clock::now();
@@ -204,7 +205,7 @@ bool Scheduler::persist_tiles()
204
205
.arg(m_ram_cache.n_cached_objects());
206
207
if (!r.has_value()) {
- qDebug()
208
+ qWarning()
209
<< QString("Writing tiles to disk into %1 failed: %2. Removing all files.").arg(QString::fromStdString(disk_cache_path().string())).arg(r.error());
210
std::filesystem::remove_all(disk_cache_path());
211
0 commit comments