Don't throw error if watchwords.json does not exist.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
20798f5f5c
commit
e7e222f035
|
@ -279,8 +279,9 @@ void Document::parse_watchwords()
|
|||
}
|
||||
else
|
||||
{
|
||||
throw FileException{"File Not found:"
|
||||
+ (_cfg.get_config_dir() /= "watchwords.json").string()};
|
||||
BOOST_LOG_TRIVIAL(warning) << "File Not found: " <<
|
||||
(_cfg.get_config_dir() /= "watchwords.json").string();
|
||||
return;
|
||||
}
|
||||
|
||||
const auto &tags_profile = json[_cfg.profile]["tags"];
|
||||
|
|
Loading…
Reference in New Issue
Block a user