Be even more robust catching migration errors