[CHORE] Improved sql error handling in migration runner