Shopify / ghostferry

The swiss army knife of live data migrations
https://shopify.github.io/ghostferry
MIT License
694 stars 65 forks source link

report error to the callback if ferry initialization fails in copydb #283

Closed Manan007224 closed 3 years ago

Manan007224 commented 3 years ago

During the initial setup for the ferry in copydb we were not reporting errors to error callback. Before the ferry runs we are doing a bunch of initialization work which is prone to fail but we were simply exiting from copydb and not reporting these errors to error callback-server. This PR fixes that.