diff --git a/src/main.cpp b/src/main.cpp index 467a6af..fd37cb0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) search::search(filepath, regex, opts)); } catch (const std::exception &e) - { // Unknown errors. + { cerr << '\n' << translate("ERROR: ") << e.what() << '\n'; cerr << format(translate("Error while searching {0:s}.") .str()