build: downgrade ubuntu

This commit is contained in:
2025-02-06 12:05:46 +01:00
parent da27f374ef
commit 6ed6d552ec
3 changed files with 18 additions and 17 deletions

View File

@ -39,7 +39,7 @@ int main(const int argc, const char** argv)
}
catch (std::exception& e)
{
console::error("Fatal error: %s\n", e.what());
console::error("Fatal error: %s", e.what());
return -1;
}

View File

@ -41,10 +41,12 @@ namespace
const auto location = utils::env::get_value("AW_STATS_LOCATION");
if (location.empty())
{
console::error("The environment variable 'AW_STATS_LOCATION' is not set. Please set 'AW_STATS_LOCATION' to specify the save location for 'stats.json'\n");
console::error("The environment variable 'AW_STATS_LOCATION' is not set. Please set 'AW_STATS_LOCATION' to specify the save location for 'stats.json'");
return;
}
console::info("Writing stats to %s", location.c_str());
utils::io::write_file(location, root_data);
}
}