summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-22 21:17:11 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-22 21:17:16 -0400
commitc2761f4e90f9cba44b8281af0f4d90e58625f263 (patch)
tree342fc64951acf9f74bbd20041175660f0f8d372f /src/main.cc
parent6fbf5c551e097acda6f0f08431d190bc4720b740 (diff)
downloadfork-ledger-c2761f4e90f9cba44b8281af0f4d90e58625f263.tar.gz
fork-ledger-c2761f4e90f9cba44b8281af0f4d90e58625f263.tar.bz2
fork-ledger-c2761f4e90f9cba44b8281af0f4d90e58625f263.zip
Moved the occurance of "Error:" when reporting context.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 2c55abf0..a3fa5c18 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -481,8 +481,8 @@ int main(int argc, char * argv[], char * envp[])
}
catch (const std::exception& err) {
std::cout.flush();
- std::cerr << "Error: " << ledger::error_context() << err.what()
- << std::endl;
+ std::cerr << ledger::error_context()
+ << "Error: " << err.what() << std::endl;
}
catch (int _status) {
status = _status;