diff options
author | Max Kellermann <max@duempel.org> | 2015-12-16 11:05:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-12-18 01:08:16 +0100 |
commit | e6e7d6dbd654b9936b04f27b8153fb4ed945b9d3 (patch) | |
tree | ae4f965fd7a24ce01aad50117a5776610c861af6 /test/DumpDatabase.cxx | |
parent | fe60c52c70705b721bee7fbd6e3aae076a3b99c9 (diff) |
fs/io/Reader: use C++ exceptions instead of class Error
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r-- | test/DumpDatabase.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx index 034428d88..f3d5454fc 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -110,10 +110,7 @@ try { config_global_init(); Error error; - if (!ReadConfigFile(config_path, error)) { - cerr << error.GetMessage() << endl; - return EXIT_FAILURE; - } + ReadConfigFile(config_path); TagLoadConfig(); |