remove debug prints

This commit is contained in:
Lion Kortlepel 2024-09-29 02:04:39 +02:00
parent d3805f2cfd
commit ad468a8971
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -441,9 +441,7 @@ void NewSyncResources(SOCKET Sock, const std::string& Mods, const std::vector<Mo
tmp_name += ".tmp"; tmp_name += ".tmp";
fs::copy_file(PathToSaveTo, tmp_name, fs::copy_options::overwrite_existing); fs::copy_file(PathToSaveTo, tmp_name, fs::copy_options::overwrite_existing);
debug("Copying '" + PathToSaveTo + "' to '" + tmp_name + "'");
fs::rename(tmp_name, name); fs::rename(tmp_name, name);
debug("Renaming '" + tmp_name + "' to '" + std::string(name) + "'");
} catch (std::exception& e) { } catch (std::exception& e) {
error("Failed copy to the mods folder! " + std::string(e.what())); error("Failed copy to the mods folder! " + std::string(e.what()));
Terminate = true; Terminate = true;