Extend warning for not readable configuration file. unify mains accordingly.
- fixes indention in cpu mains
- removes unused bool return value from
ConfigurationFile::load()
- uses helper function
loadConfig
in cpu apps - exchange
UBException
inConfigurationFile::load()
withstd::invalid_argument
- in mains removes not needed catches like:
bad_alloc()
(will be caught withstd::exception
anyway), (...) - wildcard is never used and spdlog exception will also be caught bystd::exception
- exchanged critical error with warning in mains for caught exceptions
- extends error message in
ConfigurationFile::load()
with link to documentation
Closes #188 (closed). Follow-Up: #190 (closed)
Edited by Sören Peters