diff options
author | dwight <dwight@10gen.com> | 2011-04-18 18:44:38 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-04-18 18:44:38 -0400 |
commit | 4f969e112abf5a30b0e2bfde170b0c868d79bde5 (patch) | |
tree | eaccfa0745f6e9faaa52efd76e3043e35cd53fd9 /tools | |
parent | 736733e95784d1344592e76e6d7921d59008827d (diff) | |
download | mongo-4f969e112abf5a30b0e2bfde170b0c868d79bde5.tar.gz |
trap segfaults and such and try to log them on windows
we also try to write a note to the windows event viewer
Diffstat (limited to 'tools')
-rw-r--r-- | tools/restore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/restore.cpp b/tools/restore.cpp index 9a18c00e93a..4f1e5968632 100644 --- a/tools/restore.cpp +++ b/tools/restore.cpp @@ -257,7 +257,7 @@ public: cerr << "Error creating index " << o["ns"].String(); cerr << ": " << err["code"].Int() << " " << err["err"].String() << endl; cerr << "To resume index restoration, run " << _name << " on file" << _fileName << " manually." << endl; - abort(); + ::abort(); } } else { |