diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2024-11-20 21:42:47 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2024-11-20 21:42:47 +0100 |
commit | 4c791663ffc8443bc80a851efbcad824cd7a4e89 (patch) | |
tree | 5f9f5790ed9453f434a158a6ff0e38d6e32bbe7f /primedev | |
parent | b9ecae0389d09be94eb3b53a98ddcaab9b74e702 (diff) | |
download | NorthstarLauncher-4c791663ffc8443bc80a851efbcad824cd7a4e89.tar.gz NorthstarLauncher-4c791663ffc8443bc80a851efbcad824cd7a4e89.zip |
fix: Improve error message text
Diffstat (limited to 'primedev')
-rw-r--r-- | primedev/mods/modsavefiles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/primedev/mods/modsavefiles.cpp b/primedev/mods/modsavefiles.cpp index 928f1dfd..86129cf0 100644 --- a/primedev/mods/modsavefiles.cpp +++ b/primedev/mods/modsavefiles.cpp @@ -77,7 +77,7 @@ template <ScriptContext context> void SaveFileManager::SaveFileAsync(fs::path fi // Check if has extension and return early if not if (!file.has_extension()) { - spdlog::error("SAVE FAILED!"); + spdlog::error("A mod failed to save a file via Safe I/O due to the following error:"); spdlog::error("No file extension specified"); } @@ -88,7 +88,7 @@ template <ScriptContext context> void SaveFileManager::SaveFileAsync(fs::path fi std::string extension = file.extension().string(); if (whitelist.find(extension) == whitelist.end()) { - spdlog::error("SAVE FAILED!"); + spdlog::error("A mod failed to save a file via Safe I/O due to the following error:"); spdlog::error("Disallowed file extension: {}", extension); } |