diff options
-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); } |