marcofognog/heroku-mongo-sync — pull request #3 by joeljunstrom (2013-10-10 22:08:44+00:00)
Title: Catch and log exceptions when syncing indexes

I'm not a 100% sure this is the right way to go about this but we have had some problems with differences between local environments and the production env regarding old indexes.

When we sync to the local env, inserting certain indexes might throw an error due to it being incompatible with the local mongodb version.

While this is not a huge problem this patch rescues such errors and displays them after the syncing is complete.