We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd1c4e4 commit 778bdabCopy full SHA for 778bdab
MongoBackup/Mongodumper.py
@@ -132,12 +132,12 @@ def run(self):
132
if backup['completed']:
133
completed += 1
134
135
- # fail if all threads did not complete
136
- if not completed == len(self.threads):
+ # check if all threads completed
+ if completed == len(self.threads):
137
+ logging.info("All mongodump backups completed")
138
+ else:
139
raise Exception, "Not all mongodump threads completed successfully!", None
140
- logging.info("All mongodump backups completed")
-
141
return self._summary
142
143
def close(self):
0 commit comments