diff --git a/src/olympic/studio/modlib/include/studio/configio.hpp b/src/olympic/studio/modlib/include/studio/configio.hpp index 6798c546..69b4443f 100644 --- a/src/olympic/studio/modlib/include/studio/configio.hpp +++ b/src/olympic/studio/modlib/include/studio/configio.hpp @@ -39,7 +39,7 @@ ox::Result readConfig(keel::Context &ctx, ox::CRStringView name) noexcept { ox::PassThroughFS fs(configPath(ctx)); auto const [buff, err] = fs.read(path); if (err) { - oxErrf("Could not read config file: {}\n", toStr(err)); + //oxErrf("Could not read config file: {} - {}\n", path, toStr(err)); return err; } return ox::readOC(buff); @@ -57,13 +57,13 @@ ox::Error writeConfig(keel::Context &ctx, ox::CRStringView name, T const&data) n auto const path = ox::sfmt("/{}.json", detail::slashesToPct(name)); ox::PassThroughFS fs(configPath(ctx)); if (auto const err = fs.mkdir("/", true)) { - oxErrf("Could not create config directory: {}\n", toStr(err)); + //oxErrf("Could not create config directory: {} - {}\n", path, toStr(err)); return err; } oxRequireM(buff, ox::writeOC(data)); *buff.back().value = '\n'; if (auto const err = fs.write(path, buff.data(), buff.size())) { - oxErrf("Could not read config file: {}\n", toStr(err)); + //oxErrf("Could not read config file: {} - {}\n", path, toStr(err)); return OxError(2, "Could not read config file"); } return {};