diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-02 00:24:26 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-02 00:24:26 -0400 |
commit | 9540406af15d522d15c94cc3d63c77b7da7e1423 (patch) | |
tree | 6dd912aac2adb018c16a8b506bc0e18eb8444caa /src/main.cc | |
parent | ef3943c60498ab0fd4de1f1735109b0d103c167a (diff) | |
download | fork-ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.tar.gz fork-ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.tar.bz2 fork-ledger-9540406af15d522d15c94cc3d63c77b7da7e1423.zip |
Simplified error context handling.
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 2 |
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; |