summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/rs_sync.cpp')
-rw-r--r--src/mongo/db/repl/rs_sync.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/repl/rs_sync.cpp b/src/mongo/db/repl/rs_sync.cpp
index 1ae5f51b249..74246d54439 100644
--- a/src/mongo/db/repl/rs_sync.cpp
+++ b/src/mongo/db/repl/rs_sync.cpp
@@ -131,12 +131,8 @@ void runSyncThread() {
/* we have some data. continue tailing. */
SyncTail tail(BackgroundSync::get(), multiSyncApply);
tail.oplogApplication();
- } catch (const DBException& e) {
- log() << "Received exception while syncing: " << e.toString();
- sleepsecs(10);
- } catch (const std::exception& e) {
- log() << "Received exception while syncing: " << e.what();
- sleepsecs(10);
+ } catch (...) {
+ std::terminate();
}
}
}