mirror of
https://github.com/alterware/master-server.git
synced 2025-06-27 06:41:53 +00:00
build: downgrade ubuntu
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user