#46 Catching migration errors