summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-03 00:48:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-03 00:48:01 -0400
commit177b5adc985dc047e2aae9d1c64c1b583342610c (patch)
treefee39d26fe39a4cb2050d6b67cf5dbde03756b5c /src/main.cc
parentad34a716467464718990c207a123456cd36f89af (diff)
downloadfork-ledger-177b5adc985dc047e2aae9d1c64c1b583342610c.tar.gz
fork-ledger-177b5adc985dc047e2aae9d1c64c1b583342610c.tar.bz2
fork-ledger-177b5adc985dc047e2aae9d1c64c1b583342610c.zip
Added a comment.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 9a1e903e..b5896eab 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -134,6 +134,7 @@ int main(int argc, char * argv[], char * envp[])
catch (const std::exception& err) {
std::cout.flush(); // first display anything that was pending
+ // Display any pending error context information
string context = error_context();
if (! context.empty())
std::cerr << context << std::endl;