Show the actual correct config file name that cannot be found
This commit is contained in:
@@ -145,9 +145,9 @@ boost::filesystem::path GetConfigFile();
|
||||
boost::filesystem::path GetPidFile();
|
||||
void CreatePidFile(const boost::filesystem::path &path, pid_t pid);
|
||||
#endif
|
||||
class missing_zcash_conf : public std::runtime_error {
|
||||
class missing_hush_conf : public std::runtime_error {
|
||||
public:
|
||||
missing_zcash_conf() : std::runtime_error("Missing komodo.conf") { }
|
||||
missing_hush_conf() : std::runtime_error(strprintf("Missing %s",GetConfigFile().string() )) { }
|
||||
};
|
||||
void ReadConfigFile(std::map<std::string, std::string>& mapSettingsRet, std::map<std::string, std::vector<std::string> >& mapMultiSettingsRet);
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user