diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-02 15:54:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-02 15:54:28 -0400 |
commit | c1cb06e00922ba5c15c128bab05c71220077fdce (patch) | |
tree | db00cc04a338c33c540c3be98c53742a1e2902ca /src/work.cc | |
parent | bd9ffed9db00e31e4ad526f4558d0d2929c8ac39 (diff) | |
download | fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.tar.gz fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.tar.bz2 fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.zip |
Updated some internal documentation.
Diffstat (limited to 'src/work.cc')
-rw-r--r-- | src/work.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/work.cc b/src/work.cc index 95f3dee4..bc14bd04 100644 --- a/src/work.cc +++ b/src/work.cc @@ -65,9 +65,7 @@ void handle_debug_options(int argc, char * argv[]) _trace_level = boost::lexical_cast<int>(argv[i + 1]); } catch (const boost::bad_lexical_cast& e) { - std::cerr << "Argument to --trace must be an integer." - << std::endl; - throw int(1); + throw std::logic_error("Argument to --trace must be an integer"); } i++; #endif |