aboutsummaryrefslogtreecommitdiff
path: root/src/shared.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-07 09:25:26 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-07 09:25:26 +0000
commit5895c160c466c0a97716ffdf5ef654eb1c3c6009 (patch)
tree8e2756dd75b785f550c00538e4b97570d6a4c1c6 /src/shared.cc
parent609a224848dd08cea35a89b03b64274c82f0a2a7 (diff)
* Make dbRefs a mapping from Hash to [Path].
Diffstat (limited to 'src/shared.cc')
-rw-r--r--src/shared.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared.cc b/src/shared.cc
index 6d157766e..bd165ce97 100644
--- a/src/shared.cc
+++ b/src/shared.cc
@@ -54,6 +54,9 @@ int main(int argc, char * * argv)
"Try `%2% --help' for more information.\n")
% e.what() % programId;
return 1;
+ } catch (Error & e) {
+ cerr << format("error: %1%\n") % e.msg();
+ return 1;
} catch (exception & e) {
cerr << format("error: %1%\n") % e.what();
return 1;