warning in exception throw

This commit is contained in:
William Katz 2021-09-23 22:59:52 -07:00 committed by GitHub
parent b8ba5d49b5
commit 348c3b6e12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,7 +349,7 @@ void Bank::Load()
std::ifstream users_load(users_location, std::ios::out | std::ios::binary);
if (!users_load.is_open())
{
throw std::invalid_argument("Cannot find save file, to generate a new one run ./bank\n");
throw std::invalid_argument("Cannot find save file, to generate a new one run \"./bank\" (warning: will override file if it already exists)\n");
}
uint32_t buffer_size;