add more info to new mod list receive error

This commit is contained in:
Lion Kortlepel
2024-10-06 15:22:45 +02:00
parent fcb51adcb8
commit 885061f73d

View File

@@ -377,8 +377,8 @@ struct ModInfo {
}
} catch (const std::exception& e) {
debug(std::string("Failed to receive mod list: ") + e.what());
error("Failed to receive mod list!");
// TODO: Cry and die
warn("Failed to receive new mod list format! This server may be outdated, but everything will still work as expected.");
return {};
}
return modInfos;
}