diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-07 09:25:26 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-07 09:25:26 +0000 |
commit | 5895c160c466c0a97716ffdf5ef654eb1c3c6009 (patch) | |
tree | 8e2756dd75b785f550c00538e4b97570d6a4c1c6 /src/shared.cc | |
parent | 609a224848dd08cea35a89b03b64274c82f0a2a7 (diff) |
* Make dbRefs a mapping from Hash to [Path].
Diffstat (limited to 'src/shared.cc')
-rw-r--r-- | src/shared.cc | 3 |
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; |