summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index b3dcd16f..583c82cd 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -133,7 +133,7 @@ int main(int argc, char * argv[], char * envp[])
}
catch (const std::exception& err) {
std::cout.flush();
- std::cerr << error_context() << "Error: " << err.what() << std::endl;
+ report_error(err);
}
catch (int _status) {
status = _status;