diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-07-30 13:07:24 -0400 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-08-07 15:18:07 -0400 |
commit | e1437d933ce2b955cc2e0c9b31cf66d37cef83d1 (patch) | |
tree | 07bf67abf676dd6a3674a2be057f4dcb96007171 /src/mongo/util/stacktrace_windows.cpp | |
parent | 455b66c00bc5f885621477b63a7bfb2997ef59ae (diff) | |
download | mongo-e1437d933ce2b955cc2e0c9b31cf66d37cef83d1.tar.gz |
SERVER-42406 move crtDebugCallback out of stacktrace_windows.cpp
Improve its diagnostics. Do not die on warnings.
Diffstat (limited to 'src/mongo/util/stacktrace_windows.cpp')
-rw-r--r-- | src/mongo/util/stacktrace_windows.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/util/stacktrace_windows.cpp b/src/mongo/util/stacktrace_windows.cpp index 06f401c6b8c..cbf449a75d2 100644 --- a/src/mongo/util/stacktrace_windows.cpp +++ b/src/mongo/util/stacktrace_windows.cpp @@ -350,10 +350,4 @@ void printWindowsStackTrace(CONTEXT& context, std::ostream& os) { } } -// Print error message from C runtime, then fassert -int crtDebugCallback(int, char* originalMessage, int*) { - StringData message(originalMessage); - log() << "*** C runtime error: " << message.substr(0, message.find('\n')) << ", terminating"; - fassertFailed(17006); -} } // namespace mongo |