From 348c3b6e12ee8450f022721c087fcd205b6038d8 Mon Sep 17 00:00:00 2001 From: William Katz Date: Thu, 23 Sep 2021 22:59:52 -0700 Subject: [PATCH] warning in exception throw --- src/bank.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bank.cpp b/src/bank.cpp index 61e83db..ca52009 100644 --- a/src/bank.cpp +++ b/src/bank.cpp @@ -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;