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
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

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